On Mo, 04 Jan 2016, Gary Johnson wrote:
> I'm in the same situation.  I've been using
> 
>     setlocal foldmethod=marker
>     setlocal foldmarker={,}
> 
> to have convenient folding of C blocks.  Every now and then the
> folding would become corrupted by an initialization such as your
> 
>     static long days[13] = {30, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 
> 31} ;

Hm, shouldn't the default value of 'foldminlines' make sure, that this 
line is not folded?

Best,
Christian
-- 
Zyniker: Ein Schuft, dessen mangehalfe Wahrnehmung Dinge sieht, wie
sie sind, statt wie sie sein sollten.
                -- Ambrose Bierce

-- 
-- 
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