Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

ssh: Handle BufferSaved ssh message (#17936)

Thorsten Ballddaee2e8dd50
diff --git a/crates/project/src/project.rs b/crates/project/src/project.rs
index 14524180ab5..5d9ac5e8214 100644
--- a/crates/project/src/project.rs
+++ b/crates/project/src/project.rs
@@ -797,9 +797,8 @@ impl Project {
ssh.subscribe_to_entity(SSH_PROJECT_ID, &this.settings_observer);
client.add_model_message_handler(Self::handle_update_worktree);
client.add_model_message_handler(Self::handle_create_buffer_for_peer);
- client.add_model_message_handler(BufferStore::handle_update_buffer_file);
- client.add_model_message_handler(BufferStore::handle_update_diff_base);
client.add_model_request_handler(BufferStore::handle_update_buffer);
+ BufferStore::init(&client);
LspStore::init(&client);
SettingsObserver::init(&client);