Modules highlighting
This commit is contained in:
@ -17,6 +17,8 @@ syn keyword cxxConstants nullptr
|
|||||||
|
|
||||||
syn keyword cxxExportNamespace exports
|
syn keyword cxxExportNamespace exports
|
||||||
|
|
||||||
|
syn match cxxModuleNamespace "\<[a-zA-Z][A-Za-z0-9_]*_m\>"
|
||||||
|
|
||||||
syn match cxxConstants "\<\(C::[A-Za-z_]\|k[A-Z]\)[A-Z_a-z0-9]*\>"
|
syn match cxxConstants "\<\(C::[A-Za-z_]\|k[A-Z]\)[A-Z_a-z0-9]*\>"
|
||||||
|
|
||||||
syn keyword cxxExceptionNames Exception Exception
|
syn keyword cxxExceptionNames Exception Exception
|
||||||
@ -269,6 +271,8 @@ if version >= 508 || !exists("did_cxx_syntax_inits")
|
|||||||
|
|
||||||
HiLink cxxExportNamespace cppModule
|
HiLink cxxExportNamespace cppModule
|
||||||
|
|
||||||
|
HiLink cxxModuleNamespace Module
|
||||||
|
|
||||||
HiLink cxxStlTraits MetaFunction
|
HiLink cxxStlTraits MetaFunction
|
||||||
HiLink cxxMetaFunction MetaFunction
|
HiLink cxxMetaFunction MetaFunction
|
||||||
HiLink cxxLibMetaFunction cxxMetaFunction
|
HiLink cxxLibMetaFunction cxxMetaFunction
|
||||||
|
@ -40,6 +40,8 @@ hi ModeMsg ctermfg=white cterm=bold term=bold start=<esc>[97m stop=<esc>[0m
|
|||||||
|
|
||||||
hi Literals ctermfg=lightmagenta cterm=italic
|
hi Literals ctermfg=lightmagenta cterm=italic
|
||||||
|
|
||||||
|
hi Module ctermfg=111
|
||||||
|
|
||||||
|
|
||||||
" Directory thru netrw
|
" Directory thru netrw
|
||||||
hi netrwHelpCmd ctermfg=Green
|
hi netrwHelpCmd ctermfg=Green
|
||||||
|
Reference in New Issue
Block a user