2
0
Fork 0
nano-syntax-archived/peg.nanorc

14 lines
408 B
Text
Raw Normal View History

2015-05-03 07:15:14 +02:00
syntax "peg" "\.l?peg$"
color brightblack "^[[: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 cyan "(^|[[:space:]])\-\-.*$"
color brightwhite,cyan "TODO:?"
color ,green "[[:space:]]+$"
color ,red " + +| + +"
# +EXTRALINT