mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 22:40:12 -04:00
chore: query formatting
This commit is contained in:
parent
79975d6557
commit
57a8acf0c4
674 changed files with 18466 additions and 12648 deletions
|
|
@ -1,22 +1,28 @@
|
|||
(tag_name) @attribute @nospell
|
||||
|
||||
(tag
|
||||
(tag_name) @_tag (#eq? @_tag "@param")
|
||||
(variable_name) @variable.parameter
|
||||
)
|
||||
(tag_name) @_tag
|
||||
(#eq? @_tag "@param")
|
||||
(variable_name) @variable.parameter)
|
||||
|
||||
(tag
|
||||
(tag_name) @_tag (#eq? @_tag "@property")
|
||||
(variable_name) @property
|
||||
)
|
||||
(tag_name) @_tag
|
||||
(#eq? @_tag "@property")
|
||||
(variable_name) @property)
|
||||
|
||||
(tag
|
||||
(tag_name) @_tag (#eq? @_tag "@var")
|
||||
(variable_name) @variable
|
||||
)
|
||||
(tag_name) @_tag
|
||||
(#eq? @_tag "@var")
|
||||
(variable_name) @variable)
|
||||
|
||||
(tag
|
||||
(tag_name) @_tag (#eq? @_tag "@function.method")
|
||||
(name) @function.method
|
||||
)
|
||||
(tag_name) @_tag
|
||||
(#eq? @_tag "@function.method")
|
||||
(name) @function.method)
|
||||
|
||||
(parameter
|
||||
(variable_name) @variable.parameter)
|
||||
|
||||
(type_list
|
||||
[
|
||||
(array_type)
|
||||
|
|
@ -24,24 +30,36 @@
|
|||
(named_type)
|
||||
(optional_type)
|
||||
] @type)
|
||||
|
||||
(type_list) @nospell
|
||||
|
||||
(variable_name) @nospell
|
||||
|
||||
(tag
|
||||
(description (text) @none @spell))
|
||||
(description
|
||||
(text) @none @spell))
|
||||
|
||||
(tag
|
||||
[
|
||||
(author_name)
|
||||
(version)
|
||||
] @none)
|
||||
(tag
|
||||
(email_address) @string.special.url
|
||||
)
|
||||
|
||||
(type_list "|" @keyword)
|
||||
(variable_name "$" @keyword)
|
||||
(tag
|
||||
(email_address) @string.special.url)
|
||||
|
||||
(type_list
|
||||
"|" @keyword)
|
||||
|
||||
(variable_name
|
||||
"$" @keyword)
|
||||
|
||||
(tag
|
||||
(tag_name) @_tag_name
|
||||
["<" ">"] @keyword
|
||||
[
|
||||
"<"
|
||||
">"
|
||||
] @keyword
|
||||
(#eq? @_tag_name "@author"))
|
||||
|
||||
(text) @spell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue