Provide a foldexpr function which give nice folding for haskell files.
Vim script
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
plugin
README
README.md

README.md

haskellFold

Provide a better folding for haskell file. The folded lines are transformed to display the type signature (if any) of the function, providing a great overview of your file content.

Installation

Drop the file in ~/.vim/plugin or ~/vimfiles/plugin folder, or if you use pathogen into the ~/.vim/bundle/vim-haskellFold or ~/vimfiles/bundle/vim-haskellFold