Open wolftune opened 8 years ago
Note: currently stack install ghc-mod --resolver nightly
is required until ghc-mod makes it into Stackage LTS (currently not there yet as of lts 3.6)
:+1:
:+1:
Unfortunately stack
gives people a false sense of security, so when ill explained this can be a problem: https://www.reddit.com/r/haskell/comments/455k54/ghcmode_preludechar_bad_argument_error/
Specifically:
I'm surprised, stack manage to use the correct version of ghc and the correct libraries so I assume it could handle the correct version of ghc-mod. Like stack exec ghc-mode ... I'm apparently wrong.
Also I'm working on the ultimate guide for setting up ghc-mod (aka. the README) over here: ghc-mod wiki: NEW_README and the Vim section is pretty empty in case anyone is feeling motivated.
For projects built with Stack,
stack install ghc-mod
will work (as long as ~/.local/bin is in the PATH), maybe mention that in the docs so people can know to do that as an alternative tocabal install ghc-mod