Added utf8 support

This commit is contained in:
Bruce Hill 2018-05-15 18:52:17 -07:00
parent 997cc4bf5a
commit 6306a050e8

View File

@ -49,12 +49,12 @@ syn region nomsuText start=/\("\.\.\)\@<!"\(\.\."\)\@!/ skip=/\\\\\|\\"/ end=/$\
hi nomsuText ctermfg=Gray
hi def link nomsuText String
syn match nomsuVar /%[a-zA-Z0-9_]*/
syn match nomsuVar /%\([a-zA-Z0-9_]\|[^\x00-\xff]\)*/
hi nomsuVar ctermfg=Cyan
hi def link nomsuVar Identifier
syn match nomsuWord /\v[a-zA-Z0-9_]+/
syn match nomsuWord /\([a-zA-Z_]\|[^\x00-\xff]\)\([a-zA-Z0-9_]\|[^\x00-\xff]\)*/
hi def link nomsuWord Function
hi nomsuWord ctermfg=White
syn match nomsuOpWord /\v[`$~!@^&*_+=|<>?'-]+/