Skip to content

Commit f78af03

Browse files
authored
Add async and await keywords to Rust highlighter
This commit adds support for Rust's `async` and `await` keywords to `language-rust-bundled`. See atom#20905 for more information.
1 parent e4b9c1e commit f78af03

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/language-rust-bundled/grammars/tree-sitter-rust.cson

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ scopes:
131131
'"where"': 'keyword.control'
132132
'"ref"': 'keyword.control'
133133
'"macro_rules!"': 'keyword.control'
134+
'"async"': 'keyword.control'
135+
'"await"': 'keyword.control'
134136

135137
'"as"': 'keyword.operator'
136138

0 commit comments

Comments
 (0)