forked from aniani/vim
patch 8.2.5009: fold may not be closeable after appending
Problem: Fold may not be closeable after appending. Solution: Set the fd_small flag to MAYBE. (Brandon Simmons, closes #10471)
This commit is contained in:
committed by
Bram Moolenaar
parent
7e66778815
commit
e8c4a64bff
@@ -2574,6 +2574,7 @@ foldUpdateIEMSRecurse(
|
||||
(long)(fp->fd_top - firstlnum));
|
||||
fp->fd_len += fp->fd_top - firstlnum;
|
||||
fp->fd_top = firstlnum;
|
||||
fp->fd_small = MAYBE;
|
||||
fold_changed = TRUE;
|
||||
}
|
||||
else if ((flp->start != 0 && lvl == level)
|
||||
|
Reference in New Issue
Block a user