blob: e82e125e22e832b100368d015c41fba84a6a858d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
; JSON highlights, from tree-sitter/tree-sitter-json v0.24.8
; queries/highlights.scm (MIT). Reordered so object keys repaint the string
; they are; capture names are already zed syntax keys but for @escape.
["{" "}" "[" "]"] @punctuation.bracket
[":" ","] @punctuation.delimiter
(number) @number
[(null) (true) (false)] @constant
(string) @string
(pair key: (string) @string.special.key)
(escape_sequence) @string.escape
(comment) @comment
|