Skip to content
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