Minor fixes and additional colorscheme support

This commit is contained in:
Zachary Yedidia
2017-02-17 10:22:56 -05:00
parent 4193133ce4
commit 0cce513e73
8 changed files with 65 additions and 57 deletions
+1 -3
View File
@@ -2,7 +2,7 @@ filetype: json
detect:
filename: "\\.json$"
header: "^\{$"
header: "^\\{$"
rules:
- constant.number: "\\b[-+]?([1-9][0-9]*|0[0-7]*|0x[0-9a-fA-F]+)([uU][lL]?|[lL][uU]?)?\\b"
@@ -22,5 +22,3 @@ rules:
- constant.specialChar: "\\\\."
- statement: "\\\"(\\\\\"|[^\"])*\\\"[[:space:]]*:\" \"'(\\'|[^'])*'[[:space:]]*:"
- constant: "\\\\u[0-9a-fA-F]{4}|\\\\[bfnrt'\"/\\\\]"
- ,green: "[[:space:]]+$"
- ,red: " + +| + +"