aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/hjson/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/hjson/highlights.scm')
-rw-r--r--runtime/queries/hjson/highlights.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/runtime/queries/hjson/highlights.scm b/runtime/queries/hjson/highlights.scm
new file mode 100644
index 000000000..8333d8fe5
--- /dev/null
+++ b/runtime/queries/hjson/highlights.scm
@@ -0,0 +1,28 @@
+(true) @boolean
+
+(false) @boolean
+
+(null) @constant.builtin
+
+(number) @number
+
+(pair
+ key: (string) @label)
+
+(pair
+ value: (string) @string)
+
+(array
+ (string) @string)
+
+; (string_content (escape_sequence) @string.escape)
+; "," @punctuation.delimiter
+"[" @punctuation.bracket
+
+"]" @punctuation.bracket
+
+"{" @punctuation.bracket
+
+"}" @punctuation.bracket
+
+(comment) @comment @spell