From 8aeab8d7b0e3c6273408ba705ab6b68df74cb89f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 9 Mar 2020 09:26:41 +0100 Subject: [PATCH] Ignore client-specific notifications closes #3523 --- crates/rust-analyzer/src/main_loop.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/rust-analyzer/src/main_loop.rs b/crates/rust-analyzer/src/main_loop.rs index 580ad1f2c8f..5480b9e4d41 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(()) }