Finish rest of the inlay cache logic

This commit is contained in:
Kirill Bulatov 2023-06-18 01:48:02 +03:00
parent ddcbc73bf0
commit debdc3603e
2 changed files with 151 additions and 45 deletions

View file

@ -2700,7 +2700,7 @@ impl Editor {
.update(&mut cx, |editor, cx| {
editor.inlay_hint_cache.replace_hints(
multi_buffer_handle,
replacement_queries.into_iter(),
replacement_queries,
currently_shown_inlay_hints,
cx,
)