vim: Fix NextSubwordEnd
crash (#23604)
Closes #23550 Release Notes: - N/A
This commit is contained in:
parent
d090caccd7
commit
02503cf3be
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue