Skip to content

Commit 2d440df

Browse files
committed
feat(queries): hl comment in JSON
1 parent b63107a commit 2d440df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

queries/json/highlights.scm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
(pair
44
;; @constant is better, but we stick to json-mode's conventions.
5-
key: (_) @keyword)
5+
key: (_) @keyword)
66

77
(number) @number
88

@@ -11,3 +11,5 @@
1111
(escape_sequence) @escape
1212

1313
(string) @string
14+
15+
(comment) @comment

0 commit comments

Comments
 (0)