mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-05 08:27:19 -04:00
Minor fixes and additional colorscheme support
This commit is contained in:
@@ -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: " + +| + +"
|
||||
|
||||
Reference in New Issue
Block a user