> Set the foldcolumn to some value (8 is usually enough for me). Do your > folds exist but refuse to close? > Or are they gone entirely?
I work without foldcolumn -- so next time it occurs I'll try to enable it on the fly and see if they are gone or just refuse to work. (I believe somehow the filetype changed and therefore all syntax based folding does not apply, that's probably why set filetype=c helps.) > Is ft still set to c when the folds are gone? Yes: set filetype? shows =c in that situation, however, it does not seem to be really set, because when I then do set filetype=c it reenables folding. > Is 'foldenable' set? I will check when it occurs. > I would also try starting with no .vimrc and no plugins, then manually > enabling filetype and syntax. I haven't needed to do this before, so > I'm not 100% sure I'm not missing anything, but I think this will do > it: > > gvim -N -u NONE > :filetype indent plugin on > :syntax on Thanks a lot... sigh.... I cannot really work without my settings and the bug occurs only some times per day... I will check that last. Felix -- You received this message from the "vim_use" 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
