From 82bd5fb56405eb782f2ebb9658f72ca962f52b9a Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Sun, 25 Jun 2023 01:43:58 +0300 Subject: [PATCH] Fix main compilation --- crates/vim/src/normal/substitute.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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| {