More syntax files from craigbarnes/nanorc

This commit is contained in:
Mariusz Smykuła 2013-06-02 12:48:33 +02:00
parent 9975b237ac
commit e5cc8be863
33 changed files with 593 additions and 0 deletions

12
peg.nanorc Normal file
View file

@ -0,0 +1,12 @@
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 " +"