mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 18:30:06 -04:00
chore: query formatting
This commit is contained in:
parent
79975d6557
commit
57a8acf0c4
674 changed files with 18466 additions and 12648 deletions
|
|
@ -9,11 +9,12 @@
|
|||
(identifier) @variable
|
||||
|
||||
((tag
|
||||
(tag_name) @_param
|
||||
(tag_name) @_param
|
||||
(identifier) @variable.parameter)
|
||||
(#any-of? @_param "@param" "\\param"))
|
||||
|
||||
(function (identifier) @function)
|
||||
(function
|
||||
(identifier) @function)
|
||||
|
||||
(function_link) @function
|
||||
|
||||
|
|
@ -48,6 +49,13 @@
|
|||
(code_block_end)
|
||||
] @punctuation.delimiter
|
||||
|
||||
[ "(" ")" "{" "}" "[" "]" ] @punctuation.bracket
|
||||
[
|
||||
"("
|
||||
")"
|
||||
"{"
|
||||
"}"
|
||||
"["
|
||||
"]"
|
||||
] @punctuation.bracket
|
||||
|
||||
(code_block_content) @none
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
((type) @injection.content
|
||||
(#set! injection.parent))
|
||||
|
||||
([ (function_link) (code) ] @injection.content
|
||||
([
|
||||
(function_link)
|
||||
(code)
|
||||
] @injection.content
|
||||
(#set! injection.parent))
|
||||
|
||||
((link) @injection.content
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue