On Fri, Dec 12, 2014 at 12:57:39AM +0100, Roland Eggner wrote:
> Patch "Make closed folds line up" by Charles Campbell is already on Brams 
> todo list.
> http://www.drchip.org/astronaut/vim/patch/folding.ptch
> 
> It works nicely apart from case "relativenumber nonumber" with numberwidth 
> smaller than for absolute linenumbers would be appropriate.  And in this 
> particular case, I am encountering rare crashes -- both with and without the 
> named patch applied, “foldmethod=expr” and „syntax on” always in effect.  So 
> far 
> I cannot reproduce the crashes, they are too rare.
> 
> E.g. with terminal LINES=90 relativenumbers are never longer than 2 digits, 
> thus 
> I set numberwidth=3.  If the buffer holds a file with >10000 lines of text, 
> numberwidth<6 seems to be not considered in all related code parts, the 
> relativenumbers are consuming part of the padding introduced by the patch, 
> which 
> does not look as nice as with “norelativenumber number” set.
> 
> 
> With the patch applied:
> *** glibc detected *** ../vim: free(): invalid next size (fast): 
> 0x000005cd68894730 ***

Have you tried running vim under valgrind?

Marius Gedminas
-- 
You have moved the mouse. NT must be restarted for the changes to take effect.

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui