Refresh inlays on buffer reopens
This commit is contained in:
parent
e1f22c3684
commit
b3aa75a363
1 changed files with 4 additions and 1 deletions
|
@ -1299,6 +1299,9 @@ impl Editor {
|
|||
project::Event::ReloadInlayHints => {
|
||||
editor.reload_inlay_hints(cx);
|
||||
}
|
||||
project::Event::ActiveEntryChanged(Some(_)) => {
|
||||
editor.reload_inlay_hints(cx);
|
||||
}
|
||||
_ => {}
|
||||
};
|
||||
cx.notify()
|
||||
|
@ -7299,7 +7302,7 @@ impl Editor {
|
|||
self.refresh_active_diagnostics(cx);
|
||||
false
|
||||
}
|
||||
_ => true,
|
||||
_ => false,
|
||||
};
|
||||
|
||||
if update_inlay_hints {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue