Tag syntax for C++
This commit is contained in:
@ -38,6 +38,8 @@ syn match cxxCriticalNames "\<Critical[A-Z][A-Za-z0-9_]*Error\>"
|
|||||||
syn match cxxCriticalNames "\<[A-Z][A-Za-z0-9_]*CriticalError\>"
|
syn match cxxCriticalNames "\<[A-Z][A-Za-z0-9_]*CriticalError\>"
|
||||||
syn match cxxViolationNames "\<[A-Z][A-Za-z0-9_]*Violation\>"
|
syn match cxxViolationNames "\<[A-Z][A-Za-z0-9_]*Violation\>"
|
||||||
|
|
||||||
|
syn match cxxTagName "\<[a-zA-Z_][A-Za-z0-9_]*_tag\>"
|
||||||
|
|
||||||
syn match cxxCast "\<\(const\|static\|dynamic\|reinterpret\)_cast\s*\(<\)\@="
|
syn match cxxCast "\<\(const\|static\|dynamic\|reinterpret\)_cast\s*\(<\)\@="
|
||||||
|
|
||||||
|
|
||||||
@ -279,5 +281,7 @@ if version >= 508 || !exists("did_cxx_syntax_inits")
|
|||||||
|
|
||||||
HiLink cxxStlDangerousFunction Dangerous
|
HiLink cxxStlDangerousFunction Dangerous
|
||||||
|
|
||||||
|
HiLink cxxTagName Tag
|
||||||
|
|
||||||
delcommand HiLink
|
delcommand HiLink
|
||||||
endif
|
endif
|
||||||
|
@ -82,6 +82,8 @@ hi FoldColumn ctermbg=darkgrey ctermfg=white
|
|||||||
hi cIf0 ctermfg=gray term=none start=<esc>[38;2;100;100;100m stop=<esc>[0m
|
hi cIf0 ctermfg=gray term=none start=<esc>[38;2;100;100;100m stop=<esc>[0m
|
||||||
"hi diffOnly ctermfg=red cterm=bold
|
"hi diffOnly ctermfg=red cterm=bold
|
||||||
|
|
||||||
|
hi Tag ctermfg=darkblue
|
||||||
|
|
||||||
" End of ron above.
|
" End of ron above.
|
||||||
|
|
||||||
"set t_Co=8
|
"set t_Co=8
|
||||||
|
Reference in New Issue
Block a user