mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.0-154
This commit is contained in:
parent
0cae847008
commit
74c596b5a8
@ -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 */
|
||||
|
@ -6072,7 +6072,11 @@ syn_get_foldlevel(wp, lnum)
|
||||
++level;
|
||||
}
|
||||
if (level > wp->w_p_fdn)
|
||||
{
|
||||
level = wp->w_p_fdn;
|
||||
if (level < 0)
|
||||
level = 0;
|
||||
}
|
||||
return level;
|
||||
}
|
||||
#endif
|
||||
|
@ -666,6 +666,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
154,
|
||||
/**/
|
||||
153,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user