On Feb 4, 4:04 pm, Matt Wozniski <[email protected]> wrote: > > Couldn't you do something like this: > > au InsertEnter * let b:oldfdm = &l:fdm | setlocal fdm=manual > au InsertLeave * let &l:fdm = b:oldfdm > > As far as I can see, that should get around the problem... But maybe > I'm missing something? >
If you have manually opened/closed folds, setting the foldmethod will re-apply the fold level. Or maybe it will set the foldlevel to zero, I'm not sure. Regardless, your carefully configured folds are messed up. -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
