Skip to content

Commit 0fe5533

Browse files
authored
Merge pull request atom#20910 from slightknack/patch-1
Add async and await keywords to Rust highlighter
2 parents a01ed04 + f78af03 commit 0fe5533

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)