Fix matching braces in jsx/tsx tags (#32196)
Closes #27998 Also fixed an issue where jumping back from closing to opening tags didn't work in javascript due to missing brackets in our tree-sitter query. Release Notes: - N/A --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
co-authored by
Conrad Irwin
parent
6a8fdbfd62
commit
f62d76159b
@@ -0,0 +1,3 @@
|
||||
{"Put":{"state":"function f() {\n return (\n <div rules={ˇ[{ a: 1 }]}>\n <h1>test</h1>\n </div>\n );\n}"}}
|
||||
{"Key":"%"}
|
||||
{"Get":{"state":"function f() {\n return (\n <div rules={[{ a: 1 }ˇ]}>\n <h1>test</h1>\n </div>\n );\n}","mode":"Normal"}}
|
||||
Reference in New Issue
Block a user