You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
### Requirements
* Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
* All new code requires tests to ensure against regressions
### Description of the Change
This PR adds support for JDK 13+ keywords:
- `yield`
- `sealed`
- `permits`
`yield` keyword is similar to `return`, so it is handled as "keyword.control.java". `sealed` and `permits` are only for classes and interfaces: `sealed` keyword is a "storage.modifier.java" and `permits` is handled similar to `extends` and `implements` keywords.
### Alternate Designs
No alternative designs were considered.
### Benefits
Fixes highlighting of the aforementioned keywords.
### Possible Drawbacks
Might potentially break class `extends` and `implements` scopes, but that would have to be a corner case not handled by unit tests.
### Applicable Issues
Fixes#230Fixes#232
See: JEP 360
It's not yet highlighted.

The text was updated successfully, but these errors were encountered: