forked from aniani/vim
updated for version 7.2.370
Problem: A redraw may cause folds to be closed. Solution: Revert part of the previous patch. Add a test. (Lech Lorens)
This commit is contained in:
@@ -854,12 +854,6 @@ foldUpdate(wp, top, bot)
|
||||
&& fp->fd_top < bot)
|
||||
{
|
||||
fp->fd_small = MAYBE;
|
||||
|
||||
/* Not sure if this is the right place to reset fd_flags (suggested by
|
||||
* Lech Lorens). */
|
||||
if (wp->w_foldinvalid)
|
||||
fp->fd_flags = FD_LEVEL;
|
||||
|
||||
++fp;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user