diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/rust-analyzer/src/main_loop.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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( | |||
631 | } | 631 | } |
632 | Err(not) => not, | 632 | Err(not) => not, |
633 | }; | 633 | }; |
634 | if not.method.starts_with("$/") { | ||
635 | return Ok(()); | ||
636 | } | ||
634 | log::error!("unhandled notification: {:?}", not); | 637 | log::error!("unhandled notification: {:?}", not); |
635 | Ok(()) | 638 | Ok(()) |
636 | } | 639 | } |