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 2025-08-08 03:58:26 +02:00 committed by Orual
parent 3584c4eb2b
commit d8222f5f23
No known key found for this signature in database
3 changed files with 3 additions and 0 deletions

View file

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

View file

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

View file

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