emacs-lsp/lsp-haskell@17d7d4c -> emacs-lsp/lsp-haskell@a56667b haskell/haskell-mode@41683c0 -> haskell/haskell-mode@e726776 jyp/attrap@4cf3e4a -> jyp/attrap@9c88154 jyp/dante@c516bc9 -> jyp/dante@e2acbf6 Switch to haskell-language-server, see https://neilmitchell.blogspot.com/2020/09/dont-use-ghcide-anymore-directly.html
11 lines
399 B
EmacsLisp
11 lines
399 B
EmacsLisp
;;; lang/haskell/+lsp.el -*- lexical-binding: t; -*-
|
|
|
|
(use-package! lsp-haskell
|
|
:after lsp-mode
|
|
:preface (add-hook 'haskell-mode-local-vars-hook #'lsp!)
|
|
:config
|
|
(when (featurep! +ghcide)
|
|
(setq lsp-haskell-server-path "ghcide"
|
|
lsp-haskell-server-args nil))
|
|
;; Does some strange indentation if it pastes in the snippet
|
|
(setq-hook! 'haskell-mode-hook yas-indent-line 'fixed))
|