forked from aniani/vim
updated for version 7.4.069
Problem: Cannot right shift lines starting with #. Solution: Allow the right shift when 'cino' contains #N with N > 0. (Christian Brabandt) Refactor parsing 'cino', store the values in the buffer.
This commit is contained in:
@@ -3052,7 +3052,7 @@ foldlevelIndent(flp)
|
||||
flp->lvl = -1;
|
||||
}
|
||||
else
|
||||
flp->lvl = get_indent_buf(buf, lnum) / get_sw_value();
|
||||
flp->lvl = get_indent_buf(buf, lnum) / get_sw_value(curbuf);
|
||||
if (flp->lvl > flp->wp->w_p_fdn)
|
||||
{
|
||||
flp->lvl = flp->wp->w_p_fdn;
|
||||
|
Reference in New Issue
Block a user