mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Match implementation of diagnostics flag to the docs
This commit is contained in:
parent
546f9ee7a7
commit
d436beeb04
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue