tsx: Insert newline between open and close tags on enter (#27618)

Release Notes:

- Added support for automatically inserting a newline when hitting enter
between opening and closing tags in JSX/TSX
This commit is contained in:
Ben Kunkle
2025-03-27 19:15:12 +00:00
committed by GitHub
parent df6ee1fc4a
commit a360365410
+2
View File
@@ -7,3 +7,5 @@
("\"" @open "\"" @close)
("'" @open "'" @close)
("`" @open "`" @close)
((jsx_element (jsx_opening_element) @open (jsx_closing_element) @close) (#set! newline.only))