vim: Respect count for paragraphs (#33489)

Closes #32462 

Release Notes:

- vim: Paragraph objects now support counts (`d2ap`, `v2ap`, etc.)

---------

Co-authored-by: Rift <no@e.mail>
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
Rift
2025-06-27 22:05:47 -06:00
committed by GitHub
co-authored by Rift Conrad Irwin
parent ba4fc1bcfc
commit 97c5c5a6e7
17 changed files with 182 additions and 54 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ impl Vim {
editor.set_clip_at_line_ends(false, cx);
editor.change_selections(SelectionEffects::no_scroll(), window, cx, |s| {
s.move_with(|map, selection| {
object.expand_selection(map, selection, around);
object.expand_selection(map, selection, around, None);
});
});