ref: Make textobjects usable by jsx and tsx

pull/11158/head
Björn Ganslandt 3 months ago
parent adc9abb6c8
commit f317d55361

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

@ -1,9 +1,3 @@
; See runtime/queries/ecma/README.md for more info. ; See runtime/queries/ecma/README.md for more info.
; inherits: _jsx,_javascript,ecma ; 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

Loading…
Cancel
Save