Fix select in Helix mode (#38117)

Hotfixes issue I have introduced in #37748.

Without this, helix mode select not working at all in `main` branch.

Release Notes:

- N/A
This commit is contained in:
Romans Malinovskis
2025-09-14 10:32:12 +02:00
committed by GitHub
parent e40a950bc4
commit 813a9bb0bc
3 changed files with 77 additions and 4 deletions
+2 -3
View File
@@ -726,9 +726,8 @@ impl Vim {
self.visual_motion(motion, count, window, cx)
}
Mode::HelixNormal | Mode::HelixSelect => {
self.helix_normal_motion(motion, count, window, cx)
}
Mode::HelixNormal => self.helix_normal_motion(motion, count, window, cx),
Mode::HelixSelect => self.helix_select_motion(motion, count, window, cx),
}
self.clear_operator(window, cx);
if let Some(operator) = waiting_operator {