这个语法文件要配合一个插件叫 TagHighLight ,可以在网上下载。
set background=dark
hi clear
if exists(syntax_on)
syntax reset
endif
let g:colors_name="vc"
hi Comment ctermfg=28
hi Constant ctermfg=21
hi Identifier ctermfg=16
hi Statement ctermfg=21
hi PreProc ctermfg=21
hi Include ctermfg=21
"hi Macro ctermfg=206
hi Type ctermfg=21
hi Special ctermfg=67
hi Class ctermfg=21
hi Function ctermfg=88
hi String ctermfg=196
hi Member ctermfg=139
hi EnumerationValue ctermfg=206
hi EnumerationName ctermfg=21
hi Namespace ctermfg=21
hi DefinedName ctermfg=206
~
这个插件是通过ctags工具产生的tag,进行语法高亮的。
set background=dark
hi clear
if exists(syntax_on)
syntax reset
endif
let g:colors_name="vc"
hi Comment ctermfg=28
hi Constant ctermfg=21
hi Identifier ctermfg=16
hi Statement ctermfg=21
hi PreProc ctermfg=21
hi Include ctermfg=21
"hi Macro ctermfg=206
hi Type ctermfg=21
hi Special ctermfg=67
hi Class ctermfg=21
hi Function ctermfg=88
hi String ctermfg=196
hi Member ctermfg=139
hi EnumerationValue ctermfg=206
hi EnumerationName ctermfg=21
hi Namespace ctermfg=21
hi DefinedName ctermfg=206
~