Fix pragma order

This commit is contained in:
Joey Yakimowich-Payne 2021-06-20 14:34:30 -06:00
commit e32dbc3022

View file

@ -70,9 +70,9 @@ syn keyword nimBoolean true false
" Strings
syn region nimPragmaSection start=+{\.+ skip=+\\\\\|\\`\|\\$+ excludenl end=+\.}+ end=+$+ keepend contains=nimEscape,nimEscapeError,@Spell,nimPragma
syn region nimString start=+'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end=+$+ keepend contains=nimEscape,nimEscapeError,@Spell
syn region nimFunction start=+`+ skip=+\\\\\|\\`\|\\$+ excludenl end=+`+ end=+$+ keepend contains=nimEscape,nimEscapeError,@Spell
syn region nimPragmaSection start=+{.+ skip=+\\\\\|\\`\|\\$+ excludenl end=+.}+ end=+$+ keepend contains=nimEscape,nimEscapeError,@Spell,nimPragma
syn region nimString start=+"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end=+$+ keepend contains=nimEscape,nimEscapeError,@Spell
syn region nimString start=+"""+ end=+"""+ keepend contains=nimEscape,nimEscapeError,@Spell
syn region nimRawString matchgroup=Normal start=+[rR]"+ end=+"+ skip=+\\\\\|\\"+ contains=@Spell