Skip to content

Commit 7d2ba6d

Browse files
committed
update doom emacs install instructions in README
1 parent 93a3b53 commit 7d2ba6d

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

README.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -532,26 +532,17 @@ variable can be updated. Information on other configurations can be found at
532532

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

535-
Install haskell-language-server, and then enable haskell lang module with lsp flag in `.doom.d/init.el`
535+
Install haskell-language-server, and then enable lsp module, and the haskell lang module with lsp flag in `.doom.d/init.el`:
536536

537537
``` emacs-lisp
538+
:tools
539+
lsp
540+
;;...
538541
:lang
539542
(haskell +lsp)
540543
```
541544

542-
in your `.doom.d/config.el` file
543-
544-
``` emacs-lisp
545-
(use-package lsp-haskell
546-
:ensure t
547-
:config
548-
(setq lsp-haskell-process-path-hie "haskell-language-server-wrapper")
549-
;; Comment/uncomment this line to see interactions between lsp client/server.
550-
;;(setq lsp-log-io t)
551-
)
552-
```
553-
554-
then do `$HOME/.emacs.d/bin/doom refresh`
545+
then do `$HOME/.emacs.d/bin/doom sync`
555546

556547
### Using haskell-language-server with [Kakoune](https://github.com/mawww/kakoune)
557548

0 commit comments

Comments
 (0)