Migrate to a "cplusplus" filetype for C++ in vim.

This "cplusplus" filetype permits the sourcing of `cpp.vim`
and `doxygen.vim` as lower-level files from itself.  This should
permit `doxygen.vim` to source from `cpp.vim` and avoid endless
recursion, when handling code-in-comments formatting.
This commit is contained in:
2018-06-21 01:35:16 -04:00
parent 9ca5cf3889
commit 354fa0e33c
4 changed files with 51 additions and 8 deletions

View File

@ -5,7 +5,7 @@ au BufNewFile,BufRead *.tex map _ {!}fmt -p -s -w 70
au BufNewFile,BufRead *.tex set textwidth=78
au BufNewFile,BufRead *.java set tabstop=4
au BufNewFile,BufRead *.java set shiftwidth=4
au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h setf cpp
"au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h setf cpp
" Alephaish
au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h set sw=4