将如下代码写入到 /usr/share/vim/vim74/syntax/c.vim中
"highlight Functions
syn match cFunctions "\<[a-zA-Z_][a-zA-Z_0-9]*\>[^()]*)("me=e-2
syn match cFunctions "\<[a-zA-Z_][a-zA-Z_0-9]*\>\s*("me=e-1
hi cFunctions gui=NONE cterm=bold ctermfg=LightYellow
阅读(1116) | 评论(0) | 转发(0) |