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 GitHub
parent 34fc2fd9d0
commit 0dd480d475
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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)