From 42f0c0f6ddb5fa50209de5ed02a7552e2f487458 Mon Sep 17 00:00:00 2001 From: Vanessa McHale Date: Mon, 26 Feb 2018 18:09:03 -0600 Subject: [PATCH] package publish --- syntax/ats.vim | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/syntax/ats.vim b/syntax/ats.vim index 0f869fa..10727af 100644 --- a/syntax/ats.vim +++ b/syntax/ats.vim @@ -47,6 +47,16 @@ syn keyword atsBool true false syn match atsComment "\v^\/\/.*$" 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 atsKeywordTwo Include highlight link atsArrow Special @@ -63,19 +73,6 @@ highlight link atsKeyword Keyword highlight link atsType Type 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 setlocal conceallevel=1