Skip to content

Commit

Permalink
Syntax highlight the JavaScript keyword using (zed-industries#22479)
Browse files Browse the repository at this point in the history
The ECMAScript Explicit Resource Management proposal (stage 3) that
specifies the keyword `using`:

https://github.com/tc39/proposal-explicit-resource-management

This has already been done for the TypeScript and TSX languages:

- zed-industries#14762
- zed-industries#14772

Release Notes:

- Syntax highlight the JavaScript keyword `using`
([zed-industries#22479](zed-industries#22479); thanks
[jaydenseric](https://github.com/jaydenseric)).
  • Loading branch information
jaydenseric authored Dec 29, 2024
1 parent ca68250 commit f6dabad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/languages/src/javascript/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@
"throw"
"try"
"typeof"
"using"
"var"
"void"
"while"
Expand Down

0 comments on commit f6dabad

Please sign in to comment.