On Mar 1, 6:44 pm, edgimar <[email protected]> wrote:
> I assume the lack of responses to this inquiry means that there is
> probably not a known way of doing this.
>
> So, maybe this is better discussed on a devel. list?
No, the vim_dev list is meant for the Vim C code and the officially
distributed runtime files.
You should be able to write a Vim script to do this.
There is a portion in my patch of 2html.vim (in the Syntax runtime
directory) that loops through all the folds in a file, discovering
their fold level (among other things). You can probably do something
very similar, but on discovering a fold you could append {{{ to the
line, and }}} whenever the fold ends. See this thread if you're
interested:
http://groups.google.com/group/vim_dev/browse_thread/thread/84bcdc1a7e56e14d/7698859b73dfa6d7
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---