config/.vim/after/syntax/c.vim

25 lines
613 B
VimL
Raw Normal View History

2022-01-03 16:06:03 +01:00
if !has('conceal')
finish
endif
setlocal conceallevel=1
syntax clear cOperator
"syntax match cOperator "++" conceal cchar=⧺
"syntax match cOperator "=\@<!===\@!" conceal cchar=⇔
syntax match cOperator "!=" conceal cchar=
syntax match cOperator "<=" conceal cchar=
syntax match cOperator ">=" conceal cchar=
syntax match cOperator "<<" conceal cchar=«
syntax match cOperator ">>" conceal cchar=»
syntax match cOperator "::" conceal cchar=
syntax match cOperator "->" conceal cchar=
syntax match cOperator "||" conceal cchar=
hi! link cOperator Operator
hi! link Conceal Operator