mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 23:40:04 -04:00
chore: format queries
This commit is contained in:
parent
76ca66db38
commit
77e298e4de
50 changed files with 143 additions and 146 deletions
|
|
@ -38,9 +38,9 @@
|
|||
|
||||
; Handle the dot operator effectively - <My.Component>
|
||||
(jsx_opening_element
|
||||
((member_expression
|
||||
(member_expression
|
||||
(identifier) @tag
|
||||
(property_identifier) @constructor)))
|
||||
(property_identifier) @constructor))
|
||||
|
||||
(jsx_closing_element
|
||||
((identifier) @constructor
|
||||
|
|
@ -48,9 +48,9 @@
|
|||
|
||||
; Handle the dot operator effectively - </My.Component>
|
||||
(jsx_closing_element
|
||||
((member_expression
|
||||
(member_expression
|
||||
(identifier) @tag
|
||||
(property_identifier) @constructor)))
|
||||
(property_identifier) @constructor))
|
||||
|
||||
(jsx_self_closing_element
|
||||
((identifier) @constructor
|
||||
|
|
@ -58,8 +58,8 @@
|
|||
|
||||
; Handle the dot operator effectively - <My.Component />
|
||||
(jsx_self_closing_element
|
||||
((member_expression
|
||||
(member_expression
|
||||
(identifier) @tag
|
||||
(property_identifier) @constructor)))
|
||||
(property_identifier) @constructor))
|
||||
|
||||
(jsx_text) @none
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
] @indent.begin
|
||||
|
||||
(jsx_closing_element
|
||||
(">" @indent.end))
|
||||
">" @indent.end)
|
||||
|
||||
(jsx_self_closing_element
|
||||
"/>" @indent.end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue