aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer/src/bin/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/rust-analyzer/src/bin/main.rs')
-rw-r--r--crates/rust-analyzer/src/bin/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/rust-analyzer/src/bin/main.rs b/crates/rust-analyzer/src/bin/main.rs
index 047772d0c..65f1a6d15 100644
--- a/crates/rust-analyzer/src/bin/main.rs
+++ b/crates/rust-analyzer/src/bin/main.rs
@@ -120,8 +120,8 @@ fn run_server() -> Result<()> {
120 }; 120 };
121 121
122 let mut config = Config::new(root_path); 122 let mut config = Config::new(root_path);
123 if let Some(value) = &initialize_params.initialization_options { 123 if let Some(json) = initialize_params.initialization_options {
124 config.update(value); 124 config.update(json);
125 } 125 }
126 config.update_caps(&initialize_params.capabilities); 126 config.update_caps(&initialize_params.capabilities);
127 127