mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0-154
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user