mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 02:10:15 -04:00
chore: query formatting
This commit is contained in:
parent
79975d6557
commit
57a8acf0c4
674 changed files with 18466 additions and 12648 deletions
|
|
@ -1,5 +1,4 @@
|
|||
; inherits: go
|
||||
|
||||
(component_declaration
|
||||
name: (component_identifier) @function)
|
||||
|
||||
|
|
@ -12,6 +11,7 @@
|
|||
|
||||
(attribute
|
||||
name: (attribute_name) @tag.attribute)
|
||||
|
||||
(attribute
|
||||
value: (quoted_attribute_value) @string)
|
||||
|
||||
|
|
@ -21,8 +21,10 @@
|
|||
] @string.special
|
||||
|
||||
(css_identifier) @function
|
||||
|
||||
(css_property
|
||||
name: (css_property_name) @attribute)
|
||||
|
||||
(css_property
|
||||
value: (css_property_value) @attribute)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,12 @@
|
|||
; inherits: go
|
||||
((element_comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
((element_comment) @injection.content (#set! injection.language "comment"))
|
||||
((script_block_text) @injection.content
|
||||
(#set! injection.language "javascript"))
|
||||
|
||||
((script_block_text) @injection.content (#set! injection.language "javascript"))
|
||||
((script_element_text) @injection.content (#set! injection.language "javascript"))
|
||||
((script_element_text) @injection.content
|
||||
(#set! injection.language "javascript"))
|
||||
|
||||
((style_element_text) @injection.content (#set! injection.language "css"))
|
||||
((style_element_text) @injection.content
|
||||
(#set! injection.language "css"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue