package publish
This commit is contained in:
parent
581a4d3bcc
commit
42f0c0f6dd
1 changed files with 10 additions and 13 deletions
|
@ -47,6 +47,16 @@ syn keyword atsBool true false
|
||||||
syn match atsComment "\v^\/\/.*$"
|
syn match atsComment "\v^\/\/.*$"
|
||||||
syn region atsNestComment start="(\*" end="\*)" contains=atsNestComment,atsTodo,@Spell
|
syn region atsNestComment start="(\*" end="\*)" contains=atsNestComment,atsTodo,@Spell
|
||||||
|
|
||||||
|
syntax match logicalAnd '&&' conceal cchar=∧
|
||||||
|
syntax match leq '<=' conceal cchar=≤
|
||||||
|
syntax match geq '>=' conceal cchar=≥
|
||||||
|
syntax match neq '!=' conceal cchar=≠
|
||||||
|
syntax match logicalOr '||' conceal cchar=∨
|
||||||
|
|
||||||
|
syn include @c syntax/c.vim
|
||||||
|
syn region madBlock matchgroup=atsCBlock start="(%{\|%{^\|%{#" end="%}" contains=@c
|
||||||
|
|
||||||
|
highlight link Conceal Keyword
|
||||||
highlight link atsBool Boolean
|
highlight link atsBool Boolean
|
||||||
highlight link atsKeywordTwo Include
|
highlight link atsKeywordTwo Include
|
||||||
highlight link atsArrow Special
|
highlight link atsArrow Special
|
||||||
|
@ -63,19 +73,6 @@ highlight link atsKeyword Keyword
|
||||||
highlight link atsType Type
|
highlight link atsType Type
|
||||||
highlight link atsIdentifier Identifier
|
highlight link atsIdentifier Identifier
|
||||||
|
|
||||||
syntax match logicalAnd '&&' conceal cchar=∧
|
|
||||||
syntax match leq '<=' conceal cchar=≤
|
|
||||||
syntax match geq '>=' conceal cchar=≥
|
|
||||||
syntax match neq '!=' conceal cchar=≠
|
|
||||||
syntax match logicalOr '||' conceal cchar=∨
|
|
||||||
|
|
||||||
" FIXME boring white?
|
|
||||||
hi! link Conceal Keyword
|
|
||||||
|
|
||||||
syn include @c syntax/c.vim
|
|
||||||
|
|
||||||
syn region madBlock matchgroup=atsCBlock start="(%{\|%{^\|%{#" end="%}" contains=@c
|
|
||||||
|
|
||||||
hi def link atsCBlock Special
|
hi def link atsCBlock Special
|
||||||
|
|
||||||
setlocal conceallevel=1
|
setlocal conceallevel=1
|
||||||
|
|
Loading…
Reference in a new issue