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 and helgemahrt committed Jan 1, 2025
1 parent fa8dea0 commit 0d4382d
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 0d4382d

Please sign in to comment.