Sunday, November 28, 2010

syntax folding: unfolds all when { is inserted

Hi,

I am using syntax foldling in C files. When all is folded but then a
somewhere in the middle a { is inserted, every fold below in the file
gets unfolded (sometimes it returns to the previous state when the
closing } is inserted, but sometimes not).

I would like to disable this feature if possible, however, keep syntax
based folding. In case it is related to brace matching I do not need
that either.

Is there a way?

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

No comments:

Post a Comment