diff --git a/syntax/ats.vim b/syntax/ats.vim index aac3d14..c07c864 100644 --- a/syntax/ats.vim +++ b/syntax/ats.vim @@ -30,7 +30,7 @@ syn match atsSpecial display contained "\\\(x\x\+\|\o\{1,3}\|.\|$\)" syn match atsSpecial display contained "\\\(u\x\{4}\|U\x\{8}\)" syn match atsSpecial '\\n' syn match atsSpecial '@' -syn match atsSpecial '#\[' +" syn match atsSpecial '#\[' syn match atsFormat display "%\(\d\+\$\)\=[-+' #0*]*\(\d*\|\*\|\*\d\+\$\)\(\.\(\d*\|\*\|\*\d\+\$\)\)\=\([hlL]\|ll\)\=\([bdiuoxXDOUfeEgGcCsSpn]\|\[\^\=.[^]]*\]\)" contained syn region atsStringDenot start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=atsSpecial,atsFormat,atsSpecial,@Spell syn match atsCharDenot "'[^\\]'"