Re: [Haskell-beginners] vim - quickly take suggestions from ghc, in case of compile errors

Hi Nathan, try ghc-mod (cabal install ...) and syntastic (https://github.com/scrooloose/syntastic/). cheers, René On 24.09.2013 16:30, beginners-request@haskell.org wrote:
Message: 4 Date: Tue, 24 Sep 2013 16:08:24 +0200 From: Nathan H?sken
To: Haskell Beginners Mailinglist Subject: [Haskell-beginners] vim - quickly take suggestions from ghc in case of compile errors Message-ID: <52419CD8.8010206@posteo.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hey,
ghc has a nice feature, when one compiles a haskell program and has made a spelling error, it suggest similar names that could be what one meant.
Example: Data.hs:24:44: Not in scope: `mont_' Perhaps you meant `month_' (line 10)
Is there a vim plugin that takes advantage of this? So that I can compile my haskell project, and for errors where ghc has a suggestion insert the suggestion with a simple key press?
Thanks! Nathan
participants (1)
-
Rene@gmail