Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Forget buffered operations when resyncing with the host
Antonio Scandurra12a286ac5098
diff --git a/crates/project/src/project.rs b/crates/project/src/project.rsindex 90985f88104..9192c7a411d 100644--- a/crates/project/src/project.rs+++ b/crates/project/src/project.rs@@ -4725,6 +4725,8 @@ impl Project {}if is_host {+ this.opened_buffers+ .retain(|_, buffer| !matches!(buffer, OpenBuffer::Operations(_)));this.buffer_changes_tx.unbounded_send(BufferMessage::Resync).unwrap();