
3 Aug
2012
3 Aug
'12
5:45 p.m.
On Fri, Aug 3, 2012 at 2:35 PM, Benjamin Edwards
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