From 6f28325830168baa1746947d088445db373bfc68 Mon Sep 17 00:00:00 2001 From: Milo <50248166+Milo123459@users.noreply.github.com> Date: Sat, 16 Oct 2021 15:02:56 +0100 Subject: [PATCH] fix --- crates/rust-analyzer/src/config.rs | 3 +-- 1 file changed, 1 insertion(+), 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 @@ pub fn files(&self) -> FilesConfig { 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(), }