Merge pull request #1188 from ar1a/lsp-haskell

Add haskell +lsp
This commit is contained in:
Henrik Lissner 2019-02-25 22:26:27 -05:00 committed by GitHub
commit c4ed1031a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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|init)
:config
;; Does some strange indentation if it pastes in the snippet
(setq-hook! 'haskell-mode-hook yas-indent-line 'fixed))

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)))