chore: query formatting

This commit is contained in:
Pham Huy Hoang 2024-01-06 15:05:50 +09:00 committed by Christian Clason
parent 79975d6557
commit 57a8acf0c4
674 changed files with 18466 additions and 12648 deletions

View file

@ -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)

View file

@ -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"))