diff options
Diffstat (limited to 'runtime/syntax/cpp.vim')
-rw-r--r-- | runtime/syntax/cpp.vim | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/runtime/syntax/cpp.vim b/runtime/syntax/cpp.vim index be7381ea6a..d669206b3e 100644 --- a/runtime/syntax/cpp.vim +++ b/runtime/syntax/cpp.vim @@ -53,22 +53,20 @@ endif syn match cppMinMax "[<>]?" " Default highlighting -command -nargs=+ HiLink hi def link <args> -HiLink cppAccess cppStatement -HiLink cppCast cppStatement -HiLink cppExceptions Exception -HiLink cppOperator Operator -HiLink cppStatement Statement -HiLink cppModifier Type -HiLink cppType Type -HiLink cppStorageClass StorageClass -HiLink cppStructure Structure -HiLink cppBoolean Boolean -HiLink cppConstant Constant -HiLink cppRawStringDelimiter Delimiter -HiLink cppRawString String -HiLink cppNumber Number -delcommand HiLink +hi def link cppAccess cppStatement +hi def link cppCast cppStatement +hi def link cppExceptions Exception +hi def link cppOperator Operator +hi def link cppStatement Statement +hi def link cppModifier Type +hi def link cppType Type +hi def link cppStorageClass StorageClass +hi def link cppStructure Structure +hi def link cppBoolean Boolean +hi def link cppConstant Constant +hi def link cppRawStringDelimiter Delimiter +hi def link cppRawString String +hi def link cppNumber Number let b:current_syntax = "cpp" |