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.

Fix "Show Edit Predictions For This Buffer" button (#50845)

Ayush Kumar Anand778878418dfc
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index da99dc45001..386e51340fd 100644
--- a/crates/editor/src/editor.rs
+++ b/crates/editor/src/editor.rs
@@ -23989,6 +23989,7 @@ impl Editor {
}
jsx_tag_auto_close::refresh_enabled_in_any_buffer(self, multibuffer, cx);
cx.emit(EditorEvent::Reparsed(*buffer_id));
+ self.update_edit_prediction_settings(cx);
cx.notify();
}
multi_buffer::Event::DirtyChanged => cx.emit(EditorEvent::DirtyChanged),