Skip to content

Commit 7ac99aa

Browse files
bors[bot]matklad
andauthored
Merge #3524
3524: Ignore client-specific notifications r=matklad a=matklad closes #3523 bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2 parents 51a50e3 + 8aeab8d commit 7ac99aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/rust-analyzer/src/main_loop.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,9 @@ fn on_notification(
631631
}
632632
Err(not) => not,
633633
};
634+
if not.method.starts_with("$/") {
635+
return Ok(());
636+
}
634637
log::error!("unhandled notification: {:?}", not);
635638
Ok(())
636639
}

0 commit comments

Comments
 (0)