Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
fix(vim): Store up to the 9th numbered register instead of 7th (#29986)
Murt848c4f77a647
diff --git a/crates/vim/src/state.rs b/crates/vim/src/state.rsindex a6df5f33ba4..470f527edd2 100644--- a/crates/vim/src/state.rs+++ b/crates/vim/src/state.rs@@ -757,7 +757,7 @@ impl VimGlobals {}if kind.linewise() || contains_newline {let mut content = content;- for i in '1'..'8' {+ for i in '1'..='9' {if let Some(moved) = self.registers.insert(i, content) {content = moved;} else {