mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
- Lots of syntax regex are poorly written and did not ends with a '$', which caused them competing with other regex rules.
10 lines
396 B
Text
10 lines
396 B
Text
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 " + +| + +"
|