vim: Fix NextSubwordEnd crash (#23604)

Closes #23550 

Release Notes:

- N/A
This commit is contained in:
CharlesChen0823 2025-01-28 14:13:13 +08:00 committed by GitHub
parent d090caccd7
commit 02503cf3be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1675,6 +1675,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;
}