Skip to content

Commit 4772884

Browse files
authored
Merge pull request #470 from iyefrat/doom-emacs
Update doom emacs install instructions in README
2 parents b1f3c31 + d648db9 commit 4772884

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
@@ -530,26 +530,17 @@ variable can be updated. Information on other configurations can be found at
530530

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

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

535535
``` emacs-lisp
536+
:tools
537+
lsp
538+
;;...
536539
:lang
537540
(haskell +lsp)
538541
```
539542

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

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

0 commit comments

Comments
 (0)