mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 12:06:55 -04:00
As discussed in PR#5421, capturing `@error` is inconsistent, requiring deep nesting (or priority) in order to correctly have red backgrounds to it. Some queries has this capture, some don't. For consistency purposes, removing all of them is more preferable. For re-enabling error, either add `(ERROR) @error` or `(ERROR _ @error)` to your custom queries.
15 lines
369 B
Scheme
15 lines
369 B
Scheme
(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
|