haskellmode-vim
haskellmode-vim copied to clipboard
cabal sandbox support
Now that cabal ships with sandbox support it would be great to have haskellmode detect sandboxes and launch ghci
accordingly.
I'm not sure exactly which way is best to approach this, though. cabal repl
is already available and launches ghci
properly, which would work for type inspection etc. But I see that haskellmode invokes ghc
without the interactive flag for tags and a few other things, which may not be as trivial to solve?
Perhaps getting some inspiration from haskell/haskell-mode/#198. A good start may be to invoke cabal repl
rather than ghci
when there's a .cabal
file.
+1
+1. I'm just trying to get started with haskellmode-vim and it seems pretty useless without this feature. Is there a workaround? Or are haskellmode-vim users just not using cabal sandboxes?
(Whoops, just realised this is only a mirror. Is there an issue tracker for the original project?)
I would like support for local haddock on cabal-sandboxes
+1