Tweaked apostrophe parsing.
This commit is contained in:
parent
818b7aed7f
commit
866116004a
@ -38,7 +38,7 @@ syn region nomsuLongString start=/"\.\."[^\n]*$\n\(\s*\n\)*\z(\s\+\)\S/ skip=/^\
|
|||||||
\ contains=nomsuInterp,nomsuStringLineStart,nomsuStringTrailingSpace,nomsuOneLineComment,nomsuComment
|
\ contains=nomsuInterp,nomsuStringLineStart,nomsuStringTrailingSpace,nomsuOneLineComment,nomsuComment
|
||||||
hi def link nomsuLongString String
|
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
|
hi def link nomsuVar Identifier
|
||||||
|
|
||||||
syn match nomsuNumber /\v([a-zA-Z])@<!\d+\.\d+/
|
syn match nomsuNumber /\v([a-zA-Z])@<!\d+\.\d+/
|
||||||
@ -60,7 +60,7 @@ hi def link nomsuComma Delimiter
|
|||||||
syn match nomsuThunk /:/
|
syn match nomsuThunk /:/
|
||||||
hi def link nomsuThunk Structure
|
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
|
hi def link nomsuToken Function
|
||||||
|
|
||||||
syn cluster nomsuAll contains=nomsuString1,nomsuLongString,nomsuComment,
|
syn cluster nomsuAll contains=nomsuString1,nomsuLongString,nomsuComment,
|
||||||
|
Loading…
Reference in New Issue
Block a user