highlights(rust): add "yield" keyword

This commit is contained in:
Stephan Seitz 2022-01-07 22:35:09 +01:00
parent 1c9a546fcd
commit 7889b3aea8

View file

@ -191,7 +191,10 @@
] @keyword
"fn" @keyword.function
"return" @keyword.return
[
"return"
"yield"
] @keyword.return
(type_cast_expression "as" @keyword.operator)