From 30be95a821378b5d29b321b91715cdd938c83713 Mon Sep 17 00:00:00 2001 From: Milo <50248166+Milo123459@users.noreply.github.com> Date: Sat, 16 Oct 2021 14:15:17 +0100 Subject: [PATCH] add a comment --- crates/rust-analyzer/src/config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs index 87c01603eae..6d0e98f0932 100644 --- a/crates/rust-analyzer/src/config.rs +++ b/crates/rust-analyzer/src/config.rs @@ -673,6 +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, }, exclude: self.data.files_excludeDirs.iter().map(|it| self.root_path.join(it)).collect(),