mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-09 10:56:20 +00:00
Add yield
keyword highlight for Rust (#10104)
Release Notes: - Added `yield` keyword highlight for Rust Ref: - https://github.com/rust-lang/rust-analyzer/pull/7209 - https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/syntax_highlighting/highlight.rs#L177 - https://doc.rust-lang.org/reference/keywords.html?highlight=yield#reserved-keywords In VS Code: ![SCR-20240403-hrb](https://github.com/zed-industries/zed/assets/5518/ec3e84ce-ea9d-4b2d-832d-ecdfec0def91) docs.rs: https://docs.rs/async-stream/latest/async_stream/macro.try_stream.html ![SCR-20240403-gpk](https://github.com/zed-industries/zed/assets/5518/07010c2c-341d-4ae2-ba80-5f4eab4dbf60) ## Before <img width="644" alt="image" src="https://github.com/zed-industries/zed/assets/5518/da349187-57e6-4cea-b3e3-f628ce6a99e8"> ## After update in Zed ![SCR-20240403-hqk](https://github.com/zed-industries/zed/assets/5518/44f1687b-ec38-42c2-984d-15177bed7e5b)
This commit is contained in:
parent
1c485a0d05
commit
0861ceaac2
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@
|
|||
"use"
|
||||
"where"
|
||||
"while"
|
||||
"yield"
|
||||
(crate)
|
||||
(mutable_specifier)
|
||||
(super)
|
||||
|
|
Loading…
Reference in a new issue