aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/src/main_loop.rs8
-rw-r--r--crates/rust-analyzer/src/req.rs2
2 files changed, 8 insertions, 2 deletions
diff --git a/crates/rust-analyzer/src/main_loop.rs b/crates/rust-analyzer/src/main_loop.rs
index c899ff677..f81f43930 100644
--- a/crates/rust-analyzer/src/main_loop.rs
+++ b/crates/rust-analyzer/src/main_loop.rs
@@ -641,9 +641,15 @@ fn on_notification(
641 }; 641 };
642 let not = match notification_cast::<req::DidChangeConfiguration>(not) { 642 let not = match notification_cast::<req::DidChangeConfiguration>(not) {
643 Ok(_params) => { 643 Ok(_params) => {
644 dbg!(_params);
645 // let request = request_new::<req::WorkspaceConfiguration>(
646 // loop_state.next_request_id(),
647 // ConfigurationParams::default(),
648 // );
649 // let zz = connection.sender.send(request.into()).unwrap();
644 return Ok(()); 650 return Ok(());
645 } 651 }
646 Err(not) => not, 652 Err(not) => dbg!(not),
647 }; 653 };
648 let not = match notification_cast::<req::DidChangeWatchedFiles>(not) { 654 let not = match notification_cast::<req::DidChangeWatchedFiles>(not) {
649 Ok(params) => { 655 Ok(params) => {
diff --git a/crates/rust-analyzer/src/req.rs b/crates/rust-analyzer/src/req.rs
index 8557294f6..994f0ed61 100644
--- a/crates/rust-analyzer/src/req.rs
+++ b/crates/rust-analyzer/src/req.rs
@@ -6,7 +6,7 @@ use serde::{Deserialize, Serialize};
6 6
7pub use lsp_types::{ 7pub use lsp_types::{
8 notification::*, request::*, ApplyWorkspaceEditParams, CodeActionParams, CodeLens, 8 notification::*, request::*, ApplyWorkspaceEditParams, CodeActionParams, CodeLens,
9 CodeLensParams, CompletionParams, CompletionResponse, DiagnosticTag, 9 CodeLensParams, CompletionParams, CompletionResponse, ConfigurationParams, DiagnosticTag,
10 DidChangeConfigurationParams, DidChangeWatchedFilesParams, 10 DidChangeConfigurationParams, DidChangeWatchedFilesParams,
11 DidChangeWatchedFilesRegistrationOptions, DocumentOnTypeFormattingParams, DocumentSymbolParams, 11 DidChangeWatchedFilesRegistrationOptions, DocumentOnTypeFormattingParams, DocumentSymbolParams,
12 DocumentSymbolResponse, FileSystemWatcher, Hover, InitializeResult, MessageType, 12 DocumentSymbolResponse, FileSystemWatcher, Hover, InitializeResult, MessageType,