diff options
Diffstat (limited to 'web/assets/json.scm')
| -rw-r--r-- | web/assets/json.scm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/web/assets/json.scm b/web/assets/json.scm new file mode 100644 index 0000000..e82e125 --- /dev/null +++ b/web/assets/json.scm @@ -0,0 +1,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 |
