diff --git a/crates/vim/src/normal/substitute.rs b/crates/vim/src/normal/substitute.rs index e208983b11..87648f8b88 100644 --- a/crates/vim/src/normal/substitute.rs +++ b/crates/vim/src/normal/substitute.rs @@ -3,7 +3,7 @@ use language::Point; use crate::{motion::Motion, Mode, Vim}; -pub fn substitute(vim: &mut Vim, count: usize, cx: &mut WindowContext) { +pub fn substitute(vim: &mut Vim, count: Option, cx: &mut WindowContext) { vim.update_active_editor(cx, |editor, cx| { editor.set_clip_at_line_ends(false, cx); editor.change_selections(None, cx, |s| {