Add +ghcide flag to lang/haskell

Closes #2622
This commit is contained in:
Henrik Lissner 2020-03-29 18:28:20 -04:00
parent 5308dbd544
commit 00a21e98f0
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 32 additions and 18 deletions

View file

@ -3,14 +3,9 @@
(after! projectile
(add-to-list 'projectile-project-root-files "stack.yaml"))
;; TODO ghcide?
(cond ((featurep! +intero) (load! "+intero")) ; DEPRECATED
((featurep! +dante) (load! "+dante"))
((featurep! +lsp) (load! "+lsp")))
;;
;; Common packages
;;; Common packages
(after! haskell-mode
(setq haskell-process-suggest-remove-import-lines t ; warnings for redundant imports etc
@ -45,3 +40,13 @@
"c" #'haskell-cabal-visit-file
"h" #'haskell-hide-toggle
"H" #'haskell-hide-toggle-all))
;;
;;; Backends
(cond ((featurep! +intero) (load! "+intero")) ; DEPRECATED
((featurep! +dante) (load! "+dante"))
((or (featurep! +lsp)
(featurep! +ghcide))
(load! "+lsp")))