Bram,
while reading fold.c I noticed the following error.

diff --git a/src/fold.c b/src/fold.c
index bc79accb6..3d3a13127 100644
--- a/src/fold.c
+++ b/src/fold.c
@@ -3219,7 +3219,7 @@ foldlevelIndent(fline_T *flp)
            flp->lvl = -1;
     }
     else
-       flp->lvl = get_indent_buf(buf, lnum) / get_sw_value(curbuf);
+       flp->lvl = get_indent_buf(buf, lnum) / get_sw_value(buf);
     if (flp->lvl > flp->wp->w_p_fdn)
     {
        flp->lvl = flp->wp->w_p_fdn;

Please check and apply.

Best,
Christian
-- 
Eine eklektische Philosophie kann es nicht geben, wohl aber
eklektische Philosophen.
                -- Goethe, Maximen und Reflektionen, Nr. 115

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui