ref: Make textobjects usable by jsx and tsx

This commit is contained in:
Björn Ganslandt 2024-08-28 15:53:06 +02:00
parent adc9abb6c8
commit f317d55361
2 changed files with 7 additions and 6 deletions

View File

@ -0,0 +1,7 @@
; See runtime/queries/ecma/README.md for more info.
(jsx_self_closing_element) @xml_element.around @xml_element.inside
(jsx_element (jsx_opening_element) (_)* @xml_element.inside (jsx_closing_element))
(jsx_element) @xml_element.around

View File

@ -1,9 +1,3 @@
; See runtime/queries/ecma/README.md for more info.
; inherits: _jsx,_javascript,ecma
(jsx_self_closing_element) @xml_element.around @xml_element.inside
(jsx_element (jsx_opening_element) (_)* @xml_element.inside (jsx_closing_element))
(jsx_element) @xml_element.around