React on message-less LSP requests properly
Co-Authored-By: Julia Risley <julia@zed.dev>
This commit is contained in:
parent
7a268b1cf6
commit
f83cfda9bc
4 changed files with 5 additions and 12 deletions
|
@ -1339,8 +1339,7 @@ impl Editor {
|
|||
}));
|
||||
project_subscriptions.push(cx.subscribe(project, |editor, _, event, cx| {
|
||||
match event {
|
||||
project::Event::LanguageServerReady(_) => {
|
||||
dbg!("@@@@@@@@@@@@@ ReceiveD event");
|
||||
project::Event::ReloadInlayHints => {
|
||||
editor.update_inlay_hints(cx);
|
||||
}
|
||||
_ => {}
|
||||
|
|
|
@ -1821,7 +1821,6 @@ impl LineWithInvisibles {
|
|||
|
||||
// TODO kb bad: syscalls + cloning happen very frequently, check the timestamp first
|
||||
let new_hints = editor.inlay_hints.read();
|
||||
dbg!(new_hints.last());
|
||||
|
||||
self.draw_invisibles(
|
||||
&selection_ranges,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue