Add spread operator to the @operator list for ECMAScript languages (#35360)

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
This commit is contained in:
Dan Wood authored and GitHub committed 2025-08-08 01:58:26 +00:00
1 parent a4dab03c1a
commit 9ef641ce81
3 files changed
+3

No files matched your search

@@ -146,6 +146,7 @@
"&&="
"||="
"??="
"..."
] @operator
(regex "/" @string.regex)
+1
View File
@@ -146,6 +146,7 @@
"&&="
"||="
"??="
"..."
] @operator
(regex "/" @string.regex)
@@ -167,6 +167,7 @@
"&&="
"||="
"??="
"..."
] @operator
(regex "/" @string.regex)