1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-23 00:55:39 +01:00
nanorc/vi.nanorc
ThomasR bba53c3940 Rename syntax definitions
Duplicate syntax definition names may cause problems.
Since nano comes with predefined all-lowercase syntax definitions,
we use uppercase letters everywhere to reduce the risk of future conflicts
2016-03-02 20:51:19 +01:00

11 lines
393 B
Plaintext

syntax "VI" "(^|/|\.)(ex|vim)rc$|\.vim"
color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]"
color cyan "\<([nvxsoilc]?(nore|un)?map|[nvlx]n|[ico]?no|[cilovx][um]|s?unm)\>"
color cyan "\<(snor|nun|nm|set|if|endif|let|unlet)\>"
color red "[!&=]"
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
color brightblack "(^|[[:space:]])\"[^"]*$"
color ,green "[[:space:]]+$"
color ,red " + +| + +"