Unnamed repository; edit this file 'description' to name the repository.
fixed repeat_last_motion extends selection (#7159)
Ethan Wilkes 2023-05-28
parent 3a8592a · commit 3334e7e
-rw-r--r--helix-term/src/commands.rs2
1 files changed, 1 insertions, 1 deletions
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);
})));
})
}