micro/runtime/syntax/vi.micro
Zachary Yedidia cc9dd00948 Add string group to syntax files
This commit adds the string group (constant.string) to valid strings
in all the syntax files that support colorschemes (see the readme in
the runtime/syntax directory).

Fixes #178
2016-06-25 19:20:13 -04:00

9 lines
362 B
Text

syntax "VI" "(^|/|\.)(ex|vim)rc$|\.vim"
color identifier "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]"
color statement "\b([nvxsoilc]?(nore|un)?map|[nvlx]n|[ico]?no|[cilovx][um]|s?unm)\b"
color statement "\b(snor|nun|nm|set|if|endif|let|unlet)\b"
color statement "[!&=]"
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
color comment "(^|[[:space:]])\"[^"]*$"