Emacs
Credits
- https://github.com/tmphey
- @nymeron#8182
This guide assumes that you've completed the steps described in Prerequisites.
- If you're using
nix-shell, make sure you launch your editor from the command line so it can inherit$PATH - Install
haskell-modeviaM-x RET package-install RET haskell-mode RET - Install
lsp-modeviaM-x RET package-install RET lsp-mode RET - Install
lsp-haskellviaM-x RET package-install RET lsp-haskell RET - Edit your
.emacsfile - Close the editor and re-open it in the project folder
Note: if you're using
nix-shell, make sure to run it first.
If everything is fine you should get auto-completion and other features working 🎉