Updated highlighting to reflect the fact that vars can no longer contain

word breakers.
This commit is contained in:
Bruce Hill 2017-10-30 14:11:29 -07:00
parent be6a528f9a
commit 72a18447c3

View File

@ -45,7 +45,7 @@ syn region nomsuString start=/\("\.\.\)\@<!"\(\.\."\)\@!/ skip=/\\\\\|\\"/ end=/
hi nomsuString ctermbg=Black ctermfg=Gray
hi def link nomsuString String
syn match nomsuVar /%\([a-zA-Z0-9_]*\|[`$~!@^&*_+=|<>?-]*\)\?/
syn match nomsuVar /%[a-zA-Z0-9_]*/
hi nomsuVar ctermfg=Cyan
hi def link nomsuVar Identifier