From 8aeab8d7b0e3c6273408ba705ab6b68df74cb89f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 9 Mar 2020 09:26:41 +0100 Subject: Ignore client-specific notifications closes #3523 --- crates/rust-analyzer/src/main_loop.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crates') diff --git a/crates/rust-analyzer/src/main_loop.rs b/crates/rust-analyzer/src/main_loop.rs index 580ad1f2c..5480b9e4d 100644 --- a/crates/rust-analyzer/src/main_loop.rs +++ b/crates/rust-analyzer/src/main_loop.rs @@ -631,6 +631,9 @@ fn on_notification( } Err(not) => not, }; + if not.method.starts_with("$/") { + return Ok(()); + } log::error!("unhandled notification: {:?}", not); Ok(()) } -- cgit v1.2.3