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:
@ -1,12 +1,5 @@
|
||||
" ADAM C++ vim syntax after extensions
|
||||
|
||||
" This enables doxygen simultaneous with C++.
|
||||
if version < 600
|
||||
so <sfile>:p:h/doxygen.vim
|
||||
else
|
||||
runtime! syntax/doxygen.vim
|
||||
endif
|
||||
|
||||
syn match cxxObjects "\<[A-Z][A-Za-z0-9_]*[a-z][A-Za-z0-9_]*\>"
|
||||
syn match cxxMetaFunction "\<[a-z][a-z0-9]*_[a-z0-9_]*[a-z0-9]\>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user