1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-13 20:54:15 +01:00
nanorc/peg.nanorc

13 lines
388 B
Plaintext
Raw Normal View History

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 " +"