Skip to content

Commit 781f863

Browse files
authored
Upate Emacs setup notes
Update the Emacs set up notes to reflect that latest changes in lsp-haskell. The latest version of lsp-haskell sets the default server to `haskell-language-server-wrapper`. The old variable `lsp-haskell-process-path-hie` is deprecated.
1 parent 75f3c67 commit 781f863

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,12 +504,18 @@ Install HLS along with the following emacs packages:
504504

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

507-
Install [use-package](https://github.com/jwiegley/use-package), and add the following to your .emacs
507+
The default `lsp-haskell-server-path` is set to `haskell-language-server-wrapper`. In
508+
case you would like your editor to use a specific version of the `hls` server, then this
509+
variable can be updated.
510+
511+
Install [use-package](https://github.com/jwiegley/use-package), and add the following to your .emacs
512+
when you want to customize this variable.
513+
508514
``` emacs-lisp
509515
(use-package lsp-haskell
510516
:ensure t
511517
:config
512-
(setq lsp-haskell-process-path-hie "haskell-language-server-wrapper")
518+
(setq lsp-haskell-server-path "haskell-language-server-8.10.2")
513519
;; Comment/uncomment this line to see interactions between lsp client/server.
514520
;;(setq lsp-log-io t)
515521
)

0 commit comments

Comments
 (0)