Highlight and auto-indent await expressions in rust

This commit is contained in:
Max Brunsfeld
2023-01-20 15:56:56 -08:00
parent f7ceebfce3
commit 9f74d6e4ac
2 changed files with 2 additions and 0 deletions
@@ -52,6 +52,7 @@
[
"as"
"async"
"await"
"break"
"const"
"continue"
@@ -5,6 +5,7 @@
(assignment_expression)
(let_declaration)
(let_chain)
(await_expression)
] @indent
(_ "[" "]" @end) @indent