2017-12-29 22:13:36 -05:00
|
|
|
|
scriptencoding utf-8
|
|
|
|
|
|
|
|
|
|
syntax match logicalAnd '&&' conceal cchar=∧
|
|
|
|
|
syntax match leq '<=' conceal cchar=≤
|
|
|
|
|
syntax match geq '>=' conceal cchar=≥
|
2018-01-16 16:11:01 -05:00
|
|
|
|
syntax match neq '!=' conceal cchar=≠
|
2017-12-29 22:13:36 -05:00
|
|
|
|
syntax match logicalOr '||' conceal cchar=∨
|
|
|
|
|
|
|
|
|
|
" FIXME boring white?
|
|
|
|
|
hi! link Conceal Keyword
|
|
|
|
|
|
2018-02-26 18:27:42 -05:00
|
|
|
|
" store and remove current syntax value
|
|
|
|
|
let old_syntax = b:current_syntax
|
|
|
|
|
unlet b:current_syntax
|
|
|
|
|
|
|
|
|
|
syn include @c syntax/c.vim
|
|
|
|
|
unlet b:current_syntax
|
|
|
|
|
|
|
|
|
|
syn region madBlock matchgroup=atsCBlock start="%{" end="%}" contains=@c
|
|
|
|
|
|
|
|
|
|
hi def link atsCBlock Special
|
|
|
|
|
|
|
|
|
|
" restore current syntax value
|
|
|
|
|
let b:current_syntax = old_syntax
|
|
|
|
|
|
2017-12-29 22:13:36 -05:00
|
|
|
|
setlocal conceallevel=1
|