From 3334e7e4b2181590ddfa9aa72a19429b9b2381ea Mon Sep 17 00:00:00 2001 From: Ethan Wilkes <33569440+roberte777@users.noreply.github.com> Date: Sun, 28 May 2023 10:51:22 -0500 Subject: [PATCH] fixed repeat_last_motion extends selection (#7159) --- helix-term/src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 116c63787..911c9c1f7 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -1266,7 +1266,7 @@ where find_char_impl(cx.editor, &search_fn, inclusive, extend, ch, count); cx.editor.last_motion = Some(Motion(Box::new(move |editor: &mut Editor| { - find_char_impl(editor, &search_fn, inclusive, true, ch, 1); + find_char_impl(editor, &search_fn, inclusive, extend, ch, 1); }))); }) }