Match implementation of diagnostics flag to the docs

This commit is contained in:
Aleksey Kladov 2020-04-22 17:22:18 +02:00
parent 546f9ee7a7
commit d436beeb04

View File

@ -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,