Add async and await keywords to Rust highlighter

This commit adds support for Rust's `async` and `await` keywords to `language-rust-bundled`. See #20905 for more information.
This commit is contained in:
Isaac Clayton 2020-06-10 09:04:13 -06:00 committed by GitHub
parent e4b9c1e081
commit f78af03d08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -131,6 +131,8 @@ scopes:
'"where"': 'keyword.control'
'"ref"': 'keyword.control'
'"macro_rules!"': 'keyword.control'
'"async"': 'keyword.control'
'"await"': 'keyword.control'
'"as"': 'keyword.operator'