1
0
Fork 0
mirror of https://github.com/helix-editor/helix synced 2024-03-28 12:29:58 +01:00

fixed repeat_last_motion extends selection (#7159)

This commit is contained in:
Ethan Wilkes 2023-05-28 10:51:22 -05:00 committed by GitHub
parent 3a8592abdb
commit 3334e7e4b2
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1266,7 +1266,7 @@ fn will_find_char<F>(cx: &mut Context, search_fn: F, inclusive: bool, extend: bo
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);
})));
})
}