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.

vim: Use explicit global, not default (#2987)

Conrad Irwin1295e5b41f76
diff --cc crates/vim/src/editor_events.rs
index 4b6046ae627,af0e0b5dd6d..a6e0c4b8014
--- a/crates/vim/src/editor_events.rs
+++ b/crates/vim/src/editor_events.rs
@@@ -38,8 -39,8 +38,9 @@@ fn blurred(EditorBlurred(editor): &Edit
vim.workspace_state.recorded_actions.clear();
if let Some(previous_editor) = vim.active_editor.clone() {
if previous_editor == editor.clone() {
+ vim.clear_operator(cx);
vim.active_editor = None;
+ vim.editor_subscription = None;
}
}