For Haskell, there's a plugin called ghc-mod
http://www.mew.org/~kazu/proj/ghc-mod/en/
It works with many text editors, like Emacs or vim.
edit: the trend today is to work with the "language server protocol":
Haskell people are writing new tooling based on LSP to supersede ghc-mod: