vim: Fix `NextSubwordEnd` crash (cherry-pick #23604) (#23760)

gcp-cherry-pick-bot[bot] and CharlesChen0823 created

Cherry-picked vim: Fix `NextSubwordEnd` crash (#23604)

Closes #23550 

Release Notes:

- N/A

Co-authored-by: CharlesChen0823 <yongchen0823@gmail.com>

Change summary

crates/vim/src/motion.rs | 1 +
1 file changed, 1 insertion(+)

Detailed changes

crates/vim/src/motion.rs 🔗

@@ -1653,6 +1653,7 @@ pub(crate) fn next_subword_end(
         if need_backtrack {
             *new_point.column_mut() -= 1;
         }
+        let new_point = map.clip_point(new_point, Bias::Left);
         if point == new_point {
             break;
         }