Vim plugin for folding Asciidoc documents.
Currently, it folds:
-
Section headings (nesting is deliberately avoided; currently it does not work with 2-line/setext headings)
-
Comments (single-line or block style comments)
-
Blocks (blocks with delimiters, or with just a block name in brackets)
If you are using Vundle, place this in your .vimrc
:
Plugin 'blablatros/vim-asciidoc-superfold'
Then run the following in Vim:
:source % :PluginInstall
If you are using Pathogen, run the following in your terminal:
cd ~/.vim/bundle git clone https://github.com/blablatros/vim-asciidoc-superfold