crates/languages/src/javascript/highlights.scm 🔗
@@ -146,6 +146,7 @@
"&&="
"||="
"??="
+ "..."
] @operator
(regex "/" @string.regex)
Dan Wood created
Previously, this was the one thing that could not be styled properly in
ecmascript languages in the zed config, because it was not able to be
targeted.
Now, it is added alongside other operators. This has been tested and
works as expected.
Release Notes:
- N/A
crates/languages/src/javascript/highlights.scm | 1 +
crates/languages/src/tsx/highlights.scm | 1 +
crates/languages/src/typescript/highlights.scm | 1 +
3 files changed, 3 insertions(+)
@@ -146,6 +146,7 @@
"&&="
"||="
"??="
+ "..."
] @operator
(regex "/" @string.regex)
@@ -146,6 +146,7 @@
"&&="
"||="
"??="
+ "..."
] @operator
(regex "/" @string.regex)
@@ -167,6 +167,7 @@
"&&="
"||="
"??="
+ "..."
] @operator
(regex "/" @string.regex)