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

View file

@ -52,6 +52,7 @@
[ [
"as" "as"
"async" "async"
"await"
"break" "break"
"const" "const"
"continue" "continue"

View file

@ -5,6 +5,7 @@
(assignment_expression) (assignment_expression)
(let_declaration) (let_declaration)
(let_chain) (let_chain)
(await_expression)
] @indent ] @indent
(_ "[" "]" @end) @indent (_ "[" "]" @end) @indent