mirror of
https://github.com/scopatz/nanorc
synced 2024-10-31 23:00:00 +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
13 lines
395 B
Plaintext
13 lines
395 B
Plaintext
syntax "PEG" "\.l?peg$"
|
|
|
|
color cyan "^[[:space:]]*[A-Za-z][A-Za-z0-9_]*[[:space:]]*<-"
|
|
color blue "\^[+-]?[0-9]+"
|
|
color red "[-+*?^/!&]|->|<-|=>"
|
|
color brightyellow "%[A-Za-z][A-Za-z0-9_]*"
|
|
color magenta "\[[^]]*\]"
|
|
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
color brightblack "(^|[[:space:]])\-\-.*$"
|
|
color brightwhite,cyan "TODO:?"
|
|
color ,green "[[:space:]]+$"
|
|
color ,red " + +| + +"
|