A simple Haskell code prettifier
- Aligns and sorts
import
statements - Groups and wraps
{-# LANGUAGE #-}
pragmas (WIP) - Removes trailing whitespace
- Replaces tabs by four spaces
Since it works as a filter it is pretty easy to integrate this with VIM. Just call
:%!stylish-haskell
or add a keybinding for it.