Skip to content

Upate Emacs setup notes #440

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 29, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,16 +504,10 @@ Install HLS along with the following emacs packages:

Make sure to follow the instructions in the README of each of these packages.

Install [use-package](https://github.com/jwiegley/use-package), and add the following to your .emacs
``` emacs-lisp
(use-package lsp-haskell
:ensure t
:config
(setq lsp-haskell-process-path-hie "haskell-language-server-wrapper")
;; Comment/uncomment this line to see interactions between lsp client/server.
;;(setq lsp-log-io t)
)
```
The default `lsp-haskell-server-path` is set to `haskell-language-server-wrapper`. In
case you would like your editor to use a specific version of the `hls` server, then this
variable can be updated. Information on other configurations can be found at
[lsp-haskell](https://github.com/emacs-lsp/lsp-haskell)

### Using haskell-language-server with [doom-emacs](https://github.com/hlissner/doom-emacs/tree/develop/modules/lang/haskell#module-flags)

Expand Down