I had to tinker quite a bit before finding a decent configuration for vim to edit Haskell files. Here are the packages and config files I use:
- Haskell mode: interaction with Haddock, compiler integration, and other general settings.
- Indentation: proper source code indentation.
- More configs to enforce good style (no tabs, tabstops, etc.):
You can also have them bundled all together.