mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 04:40:08 -04:00
chore: query formatting
This commit is contained in:
parent
79975d6557
commit
57a8acf0c4
674 changed files with 18466 additions and 12648 deletions
|
|
@ -13,23 +13,32 @@
|
|||
] @keyword.conditional
|
||||
|
||||
[
|
||||
"+"
|
||||
"*"
|
||||
"?"
|
||||
; TODO: inaccessible node
|
||||
; =>
|
||||
"=>@L"
|
||||
"=>@R"
|
||||
"+"
|
||||
"*"
|
||||
"?"
|
||||
; TODO: inaccessible node
|
||||
; =>
|
||||
"=>@L"
|
||||
"=>@R"
|
||||
] @operator
|
||||
|
||||
(grammar_type_params
|
||||
["<" ">"] @punctuation.bracket)
|
||||
[
|
||||
"<"
|
||||
">"
|
||||
] @punctuation.bracket)
|
||||
|
||||
(symbol
|
||||
["<" ">"] @punctuation.bracket)
|
||||
[
|
||||
"<"
|
||||
">"
|
||||
] @punctuation.bracket)
|
||||
|
||||
(binding_symbol
|
||||
["<" ">"] @punctuation.bracket)
|
||||
[
|
||||
"<"
|
||||
">"
|
||||
] @punctuation.bracket)
|
||||
|
||||
(binding_symbol
|
||||
name: (identifier) @variable.parameter)
|
||||
|
|
@ -50,11 +59,21 @@
|
|||
(nonterminal
|
||||
(type_ref) @type.builtin)
|
||||
|
||||
["(" ")" "[" "]"] @punctuation.bracket
|
||||
[
|
||||
"("
|
||||
")"
|
||||
"["
|
||||
"]"
|
||||
] @punctuation.bracket
|
||||
|
||||
[";" ":"] @punctuation.delimiter
|
||||
[
|
||||
";"
|
||||
":"
|
||||
] @punctuation.delimiter
|
||||
|
||||
(lifetime (identifier) @keyword.storage)
|
||||
(lifetime
|
||||
(identifier) @keyword.storage)
|
||||
|
||||
(string_literal) @string
|
||||
|
||||
(regex_literal) @string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue