aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_lsp_server/src/main_loop.rs6
-rw-r--r--crates/ra_lsp_server/src/req.rs9
2 files changed, 11 insertions, 4 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}
diff --git a/crates/ra_lsp_server/src/req.rs b/crates/ra_lsp_server/src/req.rs
index 27f2deb34..11af41a1d 100644
--- a/crates/ra_lsp_server/src/req.rs
+++ b/crates/ra_lsp_server/src/req.rs
@@ -5,10 +5,11 @@ use url_serde;
5 5
6pub use lsp_types::{ 6pub use lsp_types::{
7 notification::*, request::*, ApplyWorkspaceEditParams, CodeActionParams, CodeLens, 7 notification::*, request::*, ApplyWorkspaceEditParams, CodeActionParams, CodeLens,
8 CodeLensParams, CompletionParams, CompletionResponse, DocumentOnTypeFormattingParams, 8 CodeLensParams, CompletionParams, CompletionResponse, DidChangeConfigurationParams,
9 DocumentSymbolParams, DocumentSymbolResponse, ExecuteCommandParams, Hover, InitializeResult, 9 DocumentOnTypeFormattingParams, DocumentSymbolParams, DocumentSymbolResponse,
10 MessageType, PublishDiagnosticsParams, ReferenceParams, ShowMessageParams, SignatureHelp, 10 ExecuteCommandParams, Hover, InitializeResult, MessageType, PublishDiagnosticsParams,
11 TextDocumentEdit, TextDocumentPositionParams, TextEdit, WorkspaceEdit, WorkspaceSymbolParams, 11 ReferenceParams, ShowMessageParams, SignatureHelp, TextDocumentEdit,
12 TextDocumentPositionParams, TextEdit, WorkspaceEdit, WorkspaceSymbolParams,
12}; 13};
13 14
14pub enum AnalyzerStatus {} 15pub enum AnalyzerStatus {}