mirror of
https://github.com/scopatz/nanorc
synced 2024-10-31 23:00:00 +01:00
b5b285fbf9
- Lots of syntax regex are poorly written and did not ends with a '$', which caused them competing with other regex rules.
11 lines
396 B
Plaintext
11 lines
396 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 " + +| + +"
|