mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
chore: query formatting
This commit is contained in:
parent
79975d6557
commit
57a8acf0c4
674 changed files with 18466 additions and 12648 deletions
|
|
@ -1,6 +1,6 @@
|
|||
; Literals
|
||||
|
||||
(string) @string
|
||||
|
||||
(escape_sequence) @string.escape
|
||||
|
||||
(hex_blob
|
||||
|
|
@ -15,7 +15,8 @@
|
|||
"d" @character.special
|
||||
(_) @string.special)
|
||||
|
||||
(_ key: (_) @label)
|
||||
(_
|
||||
key: (_) @label)
|
||||
|
||||
(number) @number
|
||||
|
||||
|
|
@ -26,21 +27,28 @@
|
|||
(null) @constant.builtin
|
||||
|
||||
; Punctuation
|
||||
|
||||
[
|
||||
","
|
||||
":"
|
||||
] @punctuation.delimiter
|
||||
|
||||
[ "{" "}" ] @punctuation.bracket
|
||||
[
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
|
||||
[ "[" "]" ] @punctuation.bracket
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
] @punctuation.bracket
|
||||
|
||||
[ "<" ">" ] @punctuation.bracket
|
||||
[
|
||||
"<"
|
||||
">"
|
||||
] @punctuation.bracket
|
||||
|
||||
(("\"" @string)
|
||||
(#set! conceal ""))
|
||||
(#set! conceal ""))
|
||||
|
||||
; Comments
|
||||
|
||||
(comment) @comment @spell
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
[
|
||||
(document)
|
||||
|
||||
(document)
|
||||
(meta_map)
|
||||
(map)
|
||||
(array)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue