On 2008-12-17, [email protected] wrote:
>
> Hi,
>
> while editing source code, e.g. C/C++ code, and foldmethod=syntax is
> set, inserting syntax sensible characters, e.g. '{' or '}' causes all
> following folds to open unintentionally. Which might be caused by a
> confused syntax-parser.
>
> This behaviour is not influenced by the "foldopen" option.
>
> Does anyone know about this and has a solution or an idea how this
> behaviour can be supressed?
>
> An applicable workaround might be changing the foldmethod when
> inserting/exiting insert mode to a non-confused method - may be
> someone has an idea or skeleton for such a script/plugin?

Hi, that's annoying me with a long time too, I have to :syntax enable then
zMi<ESC> to restore a outline layout.


-- 
Regards,
anhnmncb


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to