You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
and then activate [`lsp-haskell`](https://github.com/emacs-lsp/lsp-haskell) in your `user-config` section,
509
-
510
-
```lisp
511
-
(defun dotspacemacs/user-config ()
512
-
"..."
513
-
(setq lsp-haskell-process-path-hie "hie-wrapper")
514
-
(require 'lsp-haskell)
515
-
(add-hook 'haskell-mode-hook #'lsp)
516
-
)
517
-
```
518
-
519
-
Now you should be able to use HIE in Spacemacs. I still recommend checking out [lsp-ui](https://github.com/emacs-lsp/lsp-ui) and [lsp-mode](https://github.com/emacs-lsp/lsp-mode).
520
-
521
-
### Using HIE with Spacemacs on Nix Based Projects
522
-
523
-
If you use HIE with spacemacs on nix-built haskell projects, you may want to try
524
-
out [this spacemacs layer](https://github.com/benkolera/spacemacs-hie-nix). It
525
-
has installation instructions which includes a nix expression to install
526
-
everything that hie needs in your environment. It wraps the hie binary calls to
527
-
use nix-sandbox to find the closest ancestor directory that has nixfiles.
528
-
529
-
It is still pretty new and may change drastically as the author understands the
530
-
lsp, lsp-ui, lsp-haskell, hie stack a bit better. PRs and feedback are very
531
-
welcome on the layer's repo if you find it useful and/or lacking in some way.
0 commit comments