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?

Thanks inadvance,
T. Borgmann

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

Reply via email to