Add haskell lsp mode

This commit is contained in:
Aria Edmonds 2019-02-23 03:20:45 +11:00
parent acddf6a047
commit b8be64f3b5
3 changed files with 13 additions and 2 deletions

View file

@ -0,0 +1,8 @@
;;; lang/haskell/+lsp.el -*- lexical-binding: t; -*-
(def-package! lsp-haskell
:after haskell-mode
:init (add-hook 'haskell-mode-hook #'lsp)
:config
;; Does some strange indentation if it pastes in the snippet
(setq company-lsp-enable-snippet nil))

View file

@ -1,7 +1,8 @@
;;; lang/haskell/config.el -*- lexical-binding: t; -*-
(cond ((featurep! +intero) (load! "+intero"))
((featurep! +dante) (load! "+dante")))
((featurep! +dante) (load! "+dante"))
((featurep! +lsp) (load! "+lsp")))
;;
;; Common packages

View file

@ -7,4 +7,6 @@
(package! dante)
(package! attrap))
((featurep! +intero)
(package! intero)))
(package! intero))
((featurep! +lsp)
(package! lsp-haskell)))