Tweaked apostrophe parsing.

This commit is contained in:
Bruce Hill 2017-09-14 04:32:14 -07:00
parent 818b7aed7f
commit 866116004a

View File

@ -38,7 +38,7 @@ syn region nomsuLongString start=/"\.\."[^\n]*$\n\(\s*\n\)*\z(\s\+\)\S/ skip=/^\
\ contains=nomsuInterp,nomsuStringLineStart,nomsuStringTrailingSpace,nomsuOneLineComment,nomsuComment
hi def link nomsuLongString String
syn match nomsuVar /\v\%[a-zA-Z0-9_'+*/^&$@#-]*/
syn match nomsuVar /\v\%[a-zA-Z0-9_'+*/^&$@-][a-zA-Z0-9_+*/^&$@-]*/
hi def link nomsuVar Identifier
syn match nomsuNumber /\v([a-zA-Z])@<!\d+\.\d+/
@ -60,7 +60,7 @@ hi def link nomsuComma Delimiter
syn match nomsuThunk /:/
hi def link nomsuThunk Structure
syn match nomsuToken /\v(\%)@<!\%[a-zA-Z_'+*/^&$@#-][a-zA-Z0-9_'+*/^&$@#-]*/
syn match nomsuToken /\v(\%)@<!\%[a-zA-Z_'+*/^&$@#-][a-zA-Z0-9_+*/^&$@#-]*/
hi def link nomsuToken Function
syn cluster nomsuAll contains=nomsuString1,nomsuLongString,nomsuComment,