mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 21:55:17 -07:00
263849b2dd
Closes #6540 In #6221 there was a mistake in calculating which folds need to be re-ordered. When there are no folds after those that have been adjusted, then `move_end` remains 0. This results in reverse_fold_order() swapping folds that have been adjusted with uninitialised folds in the remainder of the grow array. Add a check in foldMoveRange() to account for this case. |
||
---|---|---|
.. | ||
count_spec.lua | ||
fold_spec.lua | ||
K_spec.lua | ||
lang_spec.lua | ||
put_spec.lua | ||
undo_spec.lua |