From 8ec4e135e318c7799b2576a8729493c063da4a97 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 30 Jul 2026 17:05:12 -0300 Subject: --- vrsite/assets/json.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 vrsite/assets/json.scm (limited to 'vrsite/assets/json.scm') diff --git a/vrsite/assets/json.scm b/vrsite/assets/json.scm new file mode 100644 index 0000000..e82e125 --- /dev/null +++ b/vrsite/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 -- cgit v1.3