diff --git a/crates/project/src/project.rs b/crates/project/src/project.rs index 8bfa274e8e..236b02cd6c 100644 --- a/crates/project/src/project.rs +++ b/crates/project/src/project.rs @@ -2523,6 +2523,8 @@ impl Project { OpenBuffer::Loaded(buffer) => { if let Some(buffer) = buffer.upgrade(cx) { buffer.update(cx, |buffer, cx| buffer.apply_ops(ops, cx))?; + } else if is_remote && buffer_request_count > 0 { + e.insert(OpenBuffer::Loading(ops)); } } OpenBuffer::Loading(operations) => operations.extend_from_slice(&ops),