about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMilo <50248166+Milo123459@users.noreply.github.com>2021-10-16 14:15:17 +0100
committerMilo <50248166+Milo123459@users.noreply.github.com>2021-10-16 14:15:17 +0100
commit30be95a821378b5d29b321b91715cdd938c83713 (patch)
treede3367ce202e4006d8f20f461e7867210b59e914
parent5a93457c1b98eb11a1d601627b47d4a553cb6b63 (diff)
downloadrust-30be95a821378b5d29b321b91715cdd938c83713.tar.gz
rust-30be95a821378b5d29b321b91715cdd938c83713.zip
add a comment
-rw-r--r--crates/rust-analyzer/src/config.rs1
1 files changed, 1 insertions, 0 deletions
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 @@ 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,
             },
             exclude: self.data.files_excludeDirs.iter().map(|it| self.root_path.join(it)).collect(),