Closed Eugene-msc closed 4 years ago
As a work-around, you can write a custom hie.yaml
in the root of your project with the contents:
cradle:
stack:
For an explanation of this hie.yaml
, see https://github.com/mpickering/hie-bios/
And an example for a more complex one: https://github.com/haskell/haskell-ide-engine/blob/master/hie.yaml.stack
Some other examples, https://github.com/haskell/haskell-ide-engine#project-configuration
@jneira Iirc, you fixed that bug in cabal-helper?
@fendor Thanks, it worked! Now hie does not crash and I'm getting errors highlighted. Not autocomplete though
@fendor I think lack of autocomplete was a problem of my project itself. I deleted unneeded files restarted Coc and it started working. Everything works now. Thank you very much!
Happy to help!
We'll keep this open, until the issue is fixed!
Issue upstream: https://github.com/DanielG/cabal-helper/issues/90 It seems it is caused by stack not returning any .cabal files
Closing in favor of #1666
I am trying to use HIE with Neovim and Coc. I configured everything as in documentation, but I get no diagnostics.
ghc is 8.8.3 and I built HIE from sources with stack The system is Ubuntu 19.10
In :CocInfo I see that it crashes with error
And when I try to run
hie-wrapper
in shell I get the same error