Skip to content

Commit a429358

Browse files
Merge pull request #21970 from PRO-2684/patch-1
fix: Reload when documentation changes
2 parents 09ae159 + cd69678 commit a429358

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

crates/rust-analyzer/src/reload.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,8 @@ impl GlobalState {
582582
[
583583
(base.clone(), "**/*.rs"),
584584
(base.clone(), "**/Cargo.{lock,toml}"),
585-
(base, "**/rust-analyzer.toml"),
585+
(base.clone(), "**/rust-analyzer.toml"),
586+
(base, "**/*.md"),
586587
]
587588
})
588589
})
@@ -607,6 +608,7 @@ impl GlobalState {
607608
format!("{base}/**/*.rs"),
608609
format!("{base}/**/Cargo.{{toml,lock}}"),
609610
format!("{base}/**/rust-analyzer.toml"),
611+
format!("{base}/**/*.md"),
610612
]
611613
})
612614
})

0 commit comments

Comments
 (0)