Unnamed repository; edit this file 'description' to name the repository.
fix: Reload when documentation changes
See https://github.com/rust-lang/rust-analyzer/pull/21968#discussion_r3038969774
PRO 7 weeks ago
parent fd3d1c1 · commit 9d35224
-rw-r--r--crates/rust-analyzer/src/reload.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/reload.rs b/crates/rust-analyzer/src/reload.rs
index 71accbed4e..aee054edff 100644
--- a/crates/rust-analyzer/src/reload.rs
+++ b/crates/rust-analyzer/src/reload.rs
@@ -582,7 +582,8 @@ impl GlobalState {
[
(base.clone(), "**/*.rs"),
(base.clone(), "**/Cargo.{lock,toml}"),
- (base, "**/rust-analyzer.toml"),
+ (base.clone(), "**/rust-analyzer.toml"),
+ (base, "**/*.md"),
]
})
})