mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
highlights(rust): add "yield" keyword
This commit is contained in:
parent
1c9a546fcd
commit
7889b3aea8
1 changed files with 4 additions and 1 deletions
|
|
@ -191,7 +191,10 @@
|
|||
] @keyword
|
||||
|
||||
"fn" @keyword.function
|
||||
"return" @keyword.return
|
||||
[
|
||||
"return"
|
||||
"yield"
|
||||
] @keyword.return
|
||||
|
||||
(type_cast_expression "as" @keyword.operator)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue