Hi!

On Mon, Dec 06, 2010 at 04:55:16AM -0500, Chris Jones wrote:
> I was wondering if anyone had implemented a barebones form of syntax
> folding in Vim. By ‘barebones’, I mean something that automatically
> creates folds for sections & subsections and possibly lists & blocks.

There nice foldutil plugin for vim: http://www.vim.org/script.php?script_id=158

It's general enough and know nothing about asciidoc, but I think it may be
enough in most cases.

If you're using '==' style single-line headers, then just do this:

    :FoldMatching ^= -1

For two-line style headers you can try this, but it may fail in some cases:

    :FoldShowHiGroup title

-- 
                        WBR, Alex.

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to