Add syntax sync to Vim syntax file

This will make the highlighting slightly slower, but will fix issues
with assembly not being highlighted properly.
This commit is contained in:
Elektron72 2021-03-23 19:41:34 -04:00
parent 69f73dd779
commit 8092355acb

View File

@ -58,6 +58,7 @@ syn region prog8Asm start="\(%asm\)\@16<=\s\+{{" end="}}" contains=
\prog8AsmIdentifier,
\prog8AsmStatement,
\prog8AsmLabel
syn sync match prog8AsmSync groupthere prog8Asm "%asm\s\+{{"
syn keyword prog8AsmIdentifier a x y contained