1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-16 22:24:14 +01:00
nanorc/peg.nanorc
2013-06-02 12:50:31 +02:00

13 lines
388 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 " +"