refactor!(haskell): remove ghcide support

BREAKING CHANGE: ghcide was archived a while back and now primarily
exists as a library used in the development of haskell-language-server.
It is not recommended for end-users, only for development. To this end I
think including it in the module is more misleading than helpful, and
the people that really want to use it can easily set it up themselves.

Ref: https://github.com/haskell/ghcide/pull/939
This commit is contained in:
Itai Y. Efrat
2021-08-03 18:08:37 +03:00
parent 6b5c34a1db
commit 6f2e05ea76
5 changed files with 8 additions and 20 deletions

View File

@@ -4,8 +4,5 @@
: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))