
Hi all 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? Thanks -- Luke Randall Sent with Sparrow

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,'
participants (1)
-
Luke Randall