Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (5 sloc) 335 Bytes

Custom fold text, respecting indent level

Install

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.