From d436beeb044661984879533170c4a35893176578 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 22 Apr 2020 17:22:18 +0200 Subject: Match implementation of diagnostics flag to the docs --- crates/rust-analyzer/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { self.client_caps = client_caps; set(value, "/withSysroot", &mut self.with_sysroot); - set(value, "/featureFlags/lsp.diagnostics", &mut self.publish_diagnostics); + set(value, "/diagnostics/enable", &mut self.publish_diagnostics); set(value, "/lruCapacity", &mut self.lru_capacity); self.files.watcher = match get(value, "/files/watcher") { Some("client") => FilesWatcher::Client, -- cgit v1.2.3