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

11
json.nanorc Normal file
View file

@ -0,0 +1,11 @@
syntax "json" "\.json$"
header "^\{$"
color blue "\<[-]?[1-9][0-9]*([Ee][+-]?[0-9]+)?\>" "\<[-]?[0](\.[0-9]+)?\>"
color cyan "\<null\>"
color brightcyan "\<(true|false)\>"
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
color brightyellow "\"(\\"|[^"])*\"[[:space:]]*:" "'(\'|[^'])*'[[:space:]]*:"
color magenta "\\u[0-9a-fA-F]{4}|\\[bfnrt'"/\\]"
color ,green "[[:space:]]+$"
color ,red " +"