
This fix only required changing the `overrides` queries for JavaScript and TSX. I've made the fix in both the `zed2` and `zed` crates. Release Notes: - Fixed an issue in JavaScript and TSX files, where the 'toggle comments' command used the wrong comment syntax inside of JSX tags and expressions within JSX.
18 lines
220 B
Scheme
18 lines
220 B
Scheme
(comment) @comment
|
|
|
|
[
|
|
(string)
|
|
(template_string)
|
|
] @string
|
|
|
|
[
|
|
(jsx_element)
|
|
(jsx_fragment)
|
|
] @element
|
|
|
|
[
|
|
(jsx_opening_element)
|
|
(jsx_closing_element)
|
|
(jsx_self_closing_element)
|
|
(jsx_expression)
|
|
] @default
|