Files
cshenv/vim/after/syntax/cplusplus.vim
ADAM David Alan Martin 3d32ed613f Update CPlusPlus and Doxygen formats to be better.
Now the `'*'` characters in fixed-width blocks show up correctly,
with respect to how I write code.  (I think doxygen also swallows
them anyhow, so the highlighting is more consistent with doxygen's
parser.)

Also on loading a file, everything looks better now.
2018-07-02 12:57:28 -04:00

33 lines
583 B
VimL

if exists("b:current_syntax")
unlet b:current_syntax
endif
syn include @cxxInDoxygen syntax/cpp.vim
unlet b:current_syntax
" This enables Basic C++ support, with my extensions.
"let c_no_bracket_error=1
"let c_no_curly_error=1
"if version < 600
" so <sfile>:p:h/cpp.vim
"else
" runtime! syntax/cpp.vim
"endif
if exists("b:current_syntax")
unlet b:current_syntax
endif
" This enables doxygen simultaneous with C++.
if version < 600
so <sfile>:p:h/doxygen.vim
else
runtime! syntax/doxygen.vim
endif
let b:current_syntax = "cplusplus"
syn sync clear
syn sync fromstart