aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-04-22 16:22:18 +0100
committerAleksey Kladov <[email protected]>2020-04-22 16:22:18 +0100
commitd436beeb044661984879533170c4a35893176578 (patch)
tree805489750dfc57bea7ad4eb49b8d07bd1d754f2c /crates
parent546f9ee7a7eb1d208fe279ec469b5981d47934fc (diff)
Match implementation of diagnostics flag to the docs
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs
index 3597a14e3..6e34ad374 100644
--- a/crates/rust-analyzer/src/config.rs
+++ b/crates/rust-analyzer/src/config.rs
@@ -118,7 +118,7 @@ impl Config {
118 self.client_caps = client_caps; 118 self.client_caps = client_caps;
119 119
120 set(value, "/withSysroot", &mut self.with_sysroot); 120 set(value, "/withSysroot", &mut self.with_sysroot);
121 set(value, "/featureFlags/lsp.diagnostics", &mut self.publish_diagnostics); 121 set(value, "/diagnostics/enable", &mut self.publish_diagnostics);
122 set(value, "/lruCapacity", &mut self.lru_capacity); 122 set(value, "/lruCapacity", &mut self.lru_capacity);
123 self.files.watcher = match get(value, "/files/watcher") { 123 self.files.watcher = match get(value, "/files/watcher") {
124 Some("client") => FilesWatcher::Client, 124 Some("client") => FilesWatcher::Client,