[Haskell-cafe] cabal-dev + haskell mode (vim)
Benjamin Edwards
edwards.benj at gmail.com
Sat Aug 4 09:14:32 CEST 2012
Of course! I will have a play this weekend. Thanks for the advice.
On Aug 3, 2012 10:45 PM, "Nathan Howell" <nathan.d.howell at gmail.com> wrote:
> On Fri, Aug 3, 2012 at 2:35 PM, Benjamin Edwards <edwards.benj at gmail.com>
> wrote:
> > I am struggling to get ctags and / or haskell mode to work with
> cabal-dev.
> > This is quite annoying. Has anyone worked around this?
>
> I use ghc-mod for vim and it sorta supports this... by adding
> arbitrary flags to GHC in your vimrc:
>
> let g:ghcmod_ghc_options =
> ['-package-conf=/Source/alphaHeavy/build/package.conf.d']
>
> Providing cabal-dev maintains a package database it should work there
> too. With a little vim-fu you could probably discover the most correct
> package database automatically.
>
> https://github.com/eagletmt/ghcmod-vim
>
> -n
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120804/da0f0bdb/attachment.htm>
More information about the Haskell-Cafe
mailing list