aboutsummaryrefslogtreecommitdiff
path: root/ligature_plugins/cpp.vim
blob: a0b7c960eea70c395ac008542114d92ba24f3473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
syntax clear cppOperator


syntax match cppBelleOperator "<=" conceal cchar=syntax match cppBelleOperator ">=" conceal cchar=syntax match cppBelleOperator "!=" conceal cchar=" ->
syn match cppPointer   /->/       contains=PointerTail,PointerHead
syn match PointerTail  /-/        contained containedin=cppPointer conceal cchar=syn match PointerHead  /-\@<=>/   contained containedin=cppPointer conceal cchar=" ==
syn match cppIsEqual   /==/       contains=FirstEqual,SecondEqual
syn match FirstEqual  /=/         contained containedin=cppIsEqual conceal cchar=syn match SecondEqual  /=\@<=>/   contained containedin=cppIsEqual conceal cchar=hi link cppBelleOperator Operator
hi link cppPointer Keyword


hi! link Conceal Operator
setlocal conceallevel=1