diff options
author | Michael Bolin <[email protected]> | 2019-07-11 04:44:23 +0100 |
---|---|---|
committer | Michael Bolin <[email protected]> | 2019-07-11 04:56:16 +0100 |
commit | a814883cd40be772d52bb8e7424326021fdb0e0e (patch) | |
tree | 66c9fa6e1c5775b25c12515cd9b041095cb96b83 /crates/ra_lsp_server/src/main_loop.rs | |
parent | 61135d4d4df0a16cbd39831e23b7b0deeeea44a9 (diff) |
Ignore workspace/didChangeConfiguration notifications.
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop.rs')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs index f7becd8fb..668d2fd72 100644 --- a/crates/ra_lsp_server/src/main_loop.rs +++ b/crates/ra_lsp_server/src/main_loop.rs | |||
@@ -431,6 +431,12 @@ fn on_notification( | |||
431 | } | 431 | } |
432 | Err(not) => not, | 432 | Err(not) => not, |
433 | }; | 433 | }; |
434 | let not = match not.cast::<req::DidChangeConfiguration>() { | ||
435 | Ok(_params) => { | ||
436 | return Ok(()); | ||
437 | } | ||
438 | Err(not) => not, | ||
439 | }; | ||
434 | log::error!("unhandled notification: {:?}", not); | 440 | log::error!("unhandled notification: {:?}", not); |
435 | Ok(()) | 441 | Ok(()) |
436 | } | 442 | } |