aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/json5
diff options
context:
space:
mode:
authorDS/Charlie2023-10-06 22:29:42 +0000
committerGitHub2023-10-06 22:29:42 +0000
commit93e54fa0c88dc0c8761242b14b11a5aca79c6faf (patch)
tree730903caccc6d363208f6dbbf927a3a3cd273021 /runtime/queries/json5
parent68fce3e160c64c488567f0e80f8d57bbbdd9dd82 (diff)
add support for json5 (#8473)
* add json5 language * docgen
Diffstat (limited to 'runtime/queries/json5')
-rw-r--r--runtime/queries/json5/highlights.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/runtime/queries/json5/highlights.scm b/runtime/queries/json5/highlights.scm
new file mode 100644
index 00000000..4bf03fe3
--- /dev/null
+++ b/runtime/queries/json5/highlights.scm
@@ -0,0 +1,11 @@
+(string) @string
+
+(identifier) @constant
+
+(number) @constant.numeric
+
+(null) @constant.builtin
+
+[(true) (false)] @constant.builtin.boolean
+
+(comment) @comment