Closed ianyepan closed 2 years ago
This is a haskell-language-server
issue, please reopen there. And have a read of their troubleshooting doc.
I solved the problem by identifying the stack-downloaded ghc with stack path
, and put it under my $PATH
.
export PATH="$PATH:$HOME/.stack/programs/x86_64-linux/ghc-tinfo6-8.10.7/bin"
As titled, I'm on Emacs 27.02 on Arch Linux, with haskell-language-server installed from this recommended AUR package: https://aur.archlinux.org/packages/haskell-language-server-static
When I enter a haskell buffer (with lsp enabled), the server connects and exits abnormally and restarts and exits over and over again, non-stop, (around 5 times / second), flashing the echo area.
Here's a snippet from my Messages buffer: