2016-08-25 00:15:36 +00:00
|
|
|
syntax "json" "\.json$"
|
2016-03-21 16:16:02 +00:00
|
|
|
header "^\{$"
|
|
|
|
|
|
2017-03-03 16:47:03 +00:00
|
|
|
color constant.number "\b[\-+]?([1-9][0-9]*|0[0-7]*|0x[0-9a-fA-F]+)([uU][lL]?|[lL][uU]?)?\b"
|
|
|
|
|
color constant.number "\b[\-+]?([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([EePp][+\-]?[0-9]+)?[fFlL]?"
|
|
|
|
|
color constant.number "\b[\-+]?([0-9]+[EePp][+\-]?[0-9]+)[fFlL]?"
|
2017-03-01 14:30:35 +00:00
|
|
|
color constant.bool "\b(null)\b"
|
|
|
|
|
color constant.bool.true "\b(true)\b"
|
|
|
|
|
color constant.bool.false "\b(false)\b"
|
2016-09-01 23:59:36 +00:00
|
|
|
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
|
|
|
color statement "\"(\\"|[^"])*\"[[:space:]]*:" "'(\'|[^'])*'[[:space:]]*:"
|
|
|
|
|
color constant "\\u[0-9a-fA-F]{4}|\\[bfnrt'"/\\]"
|
2017-03-01 14:30:35 +00:00
|
|
|
color indent-char.whitespace "[[:space:]]+$"
|
|
|
|
|
color indent-char " + +| + +"
|