config/.vim/after/syntax/cpp.vim
2022-01-03 16:06:03 +01:00

25 lines
637 B
VimL

if !has('conceal')
finish
endif
setlocal conceallevel=1
syntax clear cppOperator
"syntax match cppOperator "++" conceal cchar=⧺
"syntax match cppOperator "=\@<!===\@!" conceal cchar=≖
syntax match cppOperator "!=" conceal cchar=
syntax match cppOperator "<=" conceal cchar=
syntax match cppOperator ">=" conceal cchar=
syntax match cppOperator "<<" conceal cchar=«
syntax match cppOperator ">>" conceal cchar=»
syntax match cppOperator "::" conceal cchar=
syntax match cppOperator "->" conceal cchar=
syntax match cppOperator "||" conceal cchar=
hi! link cppOperator Operator
hi! link Conceal Operator