mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 08:50:11 -04:00
feat(cpon): update queries
This commit is contained in:
parent
32d0baae44
commit
ec0d0ffe51
2 changed files with 6 additions and 7 deletions
|
|
@ -15,6 +15,8 @@
|
||||||
"d" @character.special
|
"d" @character.special
|
||||||
(_) @string.special)
|
(_) @string.special)
|
||||||
|
|
||||||
|
(_ key: (_) @label)
|
||||||
|
|
||||||
(number) @number
|
(number) @number
|
||||||
|
|
||||||
(float) @float
|
(float) @float
|
||||||
|
|
@ -36,6 +38,9 @@
|
||||||
|
|
||||||
[ "<" ">" ] @punctuation.bracket
|
[ "<" ">" ] @punctuation.bracket
|
||||||
|
|
||||||
|
(("\"" @conceal)
|
||||||
|
(#set! conceal ""))
|
||||||
|
|
||||||
; Comments
|
; Comments
|
||||||
|
|
||||||
(comment) @comment @spell
|
(comment) @comment @spell
|
||||||
|
|
|
||||||
|
|
@ -9,13 +9,7 @@
|
||||||
"]"
|
"]"
|
||||||
"}"
|
"}"
|
||||||
">"
|
">"
|
||||||
] @indent.end
|
] @indent.end @indent.branch
|
||||||
|
|
||||||
[ "{" "}" ] @indent.branch
|
|
||||||
|
|
||||||
[ "[" "]" ] @indent.branch
|
|
||||||
|
|
||||||
[ "<" ">" ] @indent.branch
|
|
||||||
|
|
||||||
[
|
[
|
||||||
(ERROR)
|
(ERROR)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue