aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Wilkes2023-05-28 15:51:22 +0000
committerGitHub2023-05-28 15:51:22 +0000
commit3334e7e4b2181590ddfa9aa72a19429b9b2381ea (patch)
treeb206e119b501aaeaa5bb60a1041262e43fd663c4
parent3a8592abdb9f30c7ebb74f10fa5127e754d18bc6 (diff)
fixed repeat_last_motion extends selection (#7159)
-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);
})));
})
}