about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMilo <50248166+Milo123459@users.noreply.github.com>2021-10-16 15:02:56 +0100
committerMilo <50248166+Milo123459@users.noreply.github.com>2021-10-16 15:02:56 +0100
commit6f28325830168baa1746947d088445db373bfc68 (patch)
tree37957378b764d738ec4fcd74c4453cc4495188fa
parent30be95a821378b5d29b321b91715cdd938c83713 (diff)
downloadrust-6f28325830168baa1746947d088445db373bfc68.tar.gz
rust-6f28325830168baa1746947d088445db373bfc68.zip
fix
-rw-r--r--crates/rust-analyzer/src/config.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs
index 6d0e98f0932..0d6b1bcbfb0 100644
--- a/crates/rust-analyzer/src/config.rs
+++ b/crates/rust-analyzer/src/config.rs
@@ -673,8 +673,7 @@ impl Config {
         FilesConfig {
             watcher: match self.data.files_watcher.as_str() {
                 "notify" => FilesWatcher::Notify,
-                // A fallback for the file watcher, defaulting to use the file watcher client
-                _ => FilesWatcher::Client,
+                "client" | _ => FilesWatcher::Client,
             },
             exclude: self.data.files_excludeDirs.iter().map(|it| self.root_path.join(it)).collect(),
         }