Custom text for folded lines in vim
Vim script
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Custom fold text, respecting indent level


Use Vundle to install. Just add Bundle 'scottmcginness/vim-foldtext' to your .vimrc, and run :BundleInstall. Set foldtext=CustomFoldText() somewhere in your .vimrc and you're good to go.