mirror of
https://github.com/scopatz/nanorc
synced 2024-11-21 16:15:40 +01:00
bba53c3940
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
11 lines
393 B
Plaintext
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 " + +| + +"
|