forked from aniani/vim
updated for version 7.0-154
This commit is contained in:
@@ -2971,7 +2971,11 @@ foldlevelIndent(flp)
|
||||
else
|
||||
flp->lvl = get_indent_buf(buf, lnum) / buf->b_p_sw;
|
||||
if (flp->lvl > flp->wp->w_p_fdn)
|
||||
{
|
||||
flp->lvl = flp->wp->w_p_fdn;
|
||||
if (flp->lvl < 0)
|
||||
flp->lvl = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* foldlevelDiff() {{{2 */
|
||||
|
Reference in New Issue
Block a user