[Haskell-cafe] Syntastic support for cabal

Luke Randall luke.randall at gmail.com
Wed Apr 13 13:56:05 CEST 2011


On Wednesday 13 April 2011 at 1:34 PM, Luke Randall wrote:
> I'm using Haskell mode for Vim, as well as syntastic. I've found syntastic particularly useful as I'm quite new to Haskell and sometimes get the types of my functions wrong.
> 
> When working on Cabal packages however, syntastic marks import statements which import modules local to the cabal package as being incorrect because the module cannot be found. Has anyone solved this, or do you have pointers on how I can?
> 
> 
> 
> 

I forgot to mention that it does this by setting the following in Vim:

let makeprg = 'ghc '.shellescape(expand('%')).' -e :q'
let errorformat = '%-G\\s%#,%f:%l:%c:%m,%E%f:%l:%c:,%Z%m,' 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110413/e5c54641/attachment.htm>


More information about the Haskell-Cafe mailing list