micro/runtime/syntax/vi.micro
Zachary Yedidia 2de42bcf99 Make zenburn the default colorscheme
This commit also adds better support for constant.number in the
syntax files.
2016-08-27 17:10:26 -04:00

10 lines
397 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 constant.number "\b[0-9]+\b"
color comment "(^|[[:space:]])\"[^"]*$"