mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-11 07:50:07 -04:00
chore: format queries
This commit is contained in:
parent
76ca66db38
commit
77e298e4de
50 changed files with 143 additions and 146 deletions
|
|
@ -283,11 +283,11 @@
|
|||
"}"
|
||||
] @punctuation.bracket
|
||||
|
||||
((template_substitution
|
||||
(template_substitution
|
||||
[
|
||||
"${"
|
||||
"}"
|
||||
] @punctuation.special) @none)
|
||||
] @punctuation.special) @none
|
||||
|
||||
; Keywords
|
||||
;----------
|
||||
|
|
|
|||
|
|
@ -7,8 +7,7 @@
|
|||
|
||||
; html(`...`), html`...`, sql(...) etc
|
||||
(call_expression
|
||||
function:
|
||||
((identifier) @injection.language)
|
||||
function: (identifier) @injection.language
|
||||
arguments:
|
||||
[
|
||||
(arguments
|
||||
|
|
|
|||
|
|
@ -28,11 +28,11 @@
|
|||
(identifier) @local.definition.import)
|
||||
|
||||
(function_declaration
|
||||
((identifier) @local.definition.function)
|
||||
(identifier) @local.definition.function
|
||||
(#set! definition.var.scope parent))
|
||||
|
||||
(method_definition
|
||||
((property_identifier) @local.definition.function)
|
||||
(property_identifier) @local.definition.function
|
||||
(#set! definition.var.scope parent))
|
||||
|
||||
; References
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue