From 7487471d936e0f6f63fd6e700aab7f866ca37a0d Mon Sep 17 00:00:00 2001 From: Vanessa McHale Date: Sun, 5 Nov 2017 10:30:52 -0600 Subject: [PATCH] package publish --- syntax/ats.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/syntax/ats.vim b/syntax/ats.vim index e5e517a..a264a83 100644 --- a/syntax/ats.vim +++ b/syntax/ats.vim @@ -96,9 +96,9 @@ syn match atsPreCondit display "^\s*\(%:\|#\)\s*\(else\|endif\)\>" syn region atsCppOut start="^\s*\(%\|#\)\s*if\s\+0\+\>" end=".\@=\|$" contains=atsCppOut2 syn region atsCppOut2 contained start="0" end="^\s*\(%:\|#\)\s*\(endif\>\|else\>\|elif\>\)" contains=atsCppSkip syn region atsCppSkip contained start="^\s*\(%:\|#\)\s*\(if\>\|ifdef\>\|ifndef\>\)" skip="\\$" end="^\s*\(%:\|#\)\s*endif\>" contains=atsCppSkip -syn region atsIncluded display contained start=+"+ skip=+\\\\\|\\"+ end=+"+ -syn match atsIncluded display contained "<[^>]*>" -syn match atsInclude display "^\s*\(%:\|#\)\s*include\>\s*["<]" contains=atsIncluded +syn region atsIncluded contained start=+"+ skip=+\\\\\|\\"+ end=+"+ +syn match atsIncluded contained "<[^>]*>" +syn match atsInclude "^\s*\(%:\|#\)\s*include\>\s*["<]" contains=atsIncluded syn cluster atsPreProcGroup contains=atsPreCondit,atsIncluded,atsInclude,atsDefine,atsCppOut,atsCppOut2,atsCppSkip syn region atsDefine matchgroup=atsPreCondit start="\s*\(%:\|#\)\s*\(define\|undef\)\>" skip="\\$" end="$" syn region atsPreProc matchgroup=atsPreCondit start="^\s*\(%:\|#\)\s*\(pragma\>\|line\>warning\>\|warn\>\|error\>\)" skip="\\$" end="$" keepend