Don't flycheck while the workspace is being loaded

This commit is contained in:
Lukas Wirth 2022-08-04 14:01:33 +02:00
parent df9d3db82f
commit df7f755e3b
3 changed files with 5 additions and 2 deletions

View file

@ -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()));
}