Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Disable inline completions in Vim normal mode (#22439)
Arseny Kapoulkine76d18f3cd285
diff --git a/crates/vim/src/vim.rs b/crates/vim/src/vim.rsindex 9fca9f139eb..e6240e7e2e7 100644--- a/crates/vim/src/vim.rs+++ b/crates/vim/src/vim.rs@@ -1196,10 +1196,7 @@ impl Vim {editor.set_input_enabled(vim.editor_input_enabled());editor.set_autoindent(vim.should_autoindent());editor.selections.line_mode = matches!(vim.mode, Mode::VisualLine);- editor.set_inline_completions_enabled(matches!(- vim.mode,- Mode::Insert | Mode::Normal | Mode::Replace- ));+ editor.set_inline_completions_enabled(matches!(vim.mode, Mode::Insert | Mode::Replace));});cx.notify()}