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: Fix exchange showing `ccx` in pending keys (#28303)

5brian4f936d810076
diff --git a/crates/vim/src/vim.rs b/crates/vim/src/vim.rs
index 7cea48420d5..6d3f134a5ca 100644
--- a/crates/vim/src/vim.rs
+++ b/crates/vim/src/vim.rs
@@ -868,6 +868,7 @@ impl Vim {
Operator::AddSurrounds { .. }
| Operator::ChangeSurrounds { .. }
| Operator::DeleteSurrounds
+ | Operator::Exchange
) {
self.operator_stack.clear();
};