mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
Don't flycheck while the workspace is being loaded
This commit is contained in:
parent
df9d3db82f
commit
df7f755e3b
3 changed files with 5 additions and 2 deletions
|
@ -192,6 +192,7 @@ impl GlobalState {
|
|||
if let Some(path) = vfs.file_path(file.file_id).as_path() {
|
||||
let path = path.to_path_buf();
|
||||
if reload::should_refresh_for_change(&path, file.change_kind) {
|
||||
tracing::warn!("fetch-fiel_change");
|
||||
self.fetch_workspaces_queue
|
||||
.request_op(format!("vfs file change: {}", path.display()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue