vim: add better highlighting rules for polyglot/C++
parent
79960e750d
commit
6d55a1d4cc
21
vim/vimrc
21
vim/vimrc
|
@ -205,6 +205,27 @@ filetype on
|
|||
filetype plugin on
|
||||
filetype indent on
|
||||
|
||||
" Highlighting ---------------------------------------------------------------|
|
||||
|
||||
" Settings for C++ to make it more consistent with other highlighting groups,
|
||||
" and better for recent standards and specs.
|
||||
let g:cpp_class_scope_highlight=1
|
||||
let g:cpp_concepts_highlight=1
|
||||
|
||||
" Get rid of STL highlighting because those are NOT keywords
|
||||
hi link cppSTLbool NONE
|
||||
hi link cppSTLcast NONE
|
||||
hi link cppSTLconstant NONE
|
||||
hi link cppSTLenum NONE
|
||||
hi link cppSTLexception NONE
|
||||
hi link cppSTLfunction NONE
|
||||
hi link cppSTLfunctional NONE
|
||||
hi link cppSTLios NONE
|
||||
hi link cppSTLiterator NONE
|
||||
hi link cppSTLiterator_tag NONE
|
||||
hi link cppSTLnamespace NONE
|
||||
hi link cppSTLtype NONE
|
||||
|
||||
" Functions ------------------------------------------------------------------|
|
||||
|
||||
" Automatic headers
|
||||
|
|
Loading…
Reference in New Issue