Skip to content

Commit

Permalink
fix: use includes to remove redundant queries
Browse files Browse the repository at this point in the history
  • Loading branch information
RiyeUK committed Mar 17, 2024
1 parent 8d3cf78 commit 35bda4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 30 deletions.
22 changes: 1 addition & 21 deletions runtime/queries/jsonc/highlights.scm
Original file line number Diff line number Diff line change
@@ -1,22 +1,2 @@
[
(true)
(false)
] @constant.builtin.boolean
(null) @constant.builtin
(number) @constant.numeric
(pair
key: (_) @keyword)

(string) @string
(escape_sequence) @constant.character.escape
(ERROR) @error

"," @punctuation.delimiter
[
"["
"]"
"{"
"}"
] @punctuation.bracket

; inherits: json
(comment) @comment
10 changes: 1 addition & 9 deletions runtime/queries/jsonc/indents.scm
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
[
(object)
(array)
] @indent

[
"]"
"}"
] @outdent
; inherits: json

0 comments on commit 35bda4f

Please sign in to comment.