ZIm/crates/zed/src
Piotr Osiewicz b391f5615b
rust: Highlight async functions in completions (#3095)
Before (code in screenshot is from this branch,
`crates/zed/languages/rust.rs:179`):

![image](https://github.com/zed-industries/zed/assets/24362066/6b709f8c-1b80-4aaa-8ddc-8db9dbca5a5e)
Notice how the last 2 entries (that are async functions) are not
highlighted properly.
After:

![image](https://github.com/zed-industries/zed/assets/24362066/88337f43-b97f-4257-9c31-54c9023e8dbb)

This is slightly suboptimal, as it's hard to tell that this is an async
function - I guess adding an `async` prefix is not really an option, as
then we should have a prefix for non-async functions too. Still, at
least you can tell that something is a function in the first place. :)

Release Notes:
- Fixed Rust async functions not being highlighted in completions.
2023-10-06 14:43:03 +02:00
..
languages rust: Highlight async functions in completions (#3095) 2023-10-06 14:43:03 +02:00
assets.rs Add basic sound handling infrastructure 2023-06-30 16:10:49 -07:00
languages.rs Refactor elixir LSP settings 2023-09-29 14:12:50 -07:00
main.rs Add memory and cpu events 2023-10-02 19:35:31 -04:00
menus.rs Code review changes 2023-09-20 21:29:45 -06:00
only_instance.rs Avoid checking for duplicate instance when local DB is disabled 2023-07-07 14:20:39 -04:00
test.rs Remove AppState from workspace actions 2022-05-19 14:37:26 -07:00
zed.rs Add an include/exclude warnings toggle in project diagnostics 2023-09-27 17:47:19 -06:00