diff --git a/crates/vim/src/vim.rs b/crates/vim/src/vim.rs index 9fca9f139e..e6240e7e2e 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() }