vim-hsimport
vim-hsimport copied to clipboard
Doesn't work, throws "cannot satisfy package id" blah
hsimport via command line works perfectly
via this plugin not:

hasufell@localhost ~ $ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.2.2.20180117
hasufell@localhost ~ $ vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Nov 24 2017 23:49:46)
hasufell@localhost ~ $ hsimport --version
hsimport version 0.8.5
This looks more like an issue of hdevtools with ghc 8.2.2.
vim-hsimport uses hdevtools to find the module for a symbol.
So, not much I can do. I wouldn't recommend to use the newest ghc, because a lot of tooling just doesn't support it yet.
How are you building your project?
- cabal build
- cabal sandbox
- stack
- cabal new-build
cabal sandbox
Also see https://github.com/hdevtools/hdevtools/issues/76