From 3334e7e4b2181590ddfa9aa72a19429b9b2381ea Mon Sep 17 00:00:00 2001 From: Ethan Wilkes Date: Sun, 28 May 2023 10:51:22 -0500 Subject: fixed repeat_last_motion extends selection (#7159) --- helix-term/src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-term') diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 116c6378..911c9c1f 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); }))); }) } -- cgit v1.2.3-70-g09d2