Add haskell lsp mode
This commit is contained in:
parent
acddf6a047
commit
b8be64f3b5
3 changed files with 13 additions and 2 deletions
8
modules/lang/haskell/+lsp.el
Normal file
8
modules/lang/haskell/+lsp.el
Normal 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))
|
|
@ -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
|
||||
|
|
|
@ -7,4 +7,6 @@
|
|||
(package! dante)
|
||||
(package! attrap))
|
||||
((featurep! +intero)
|
||||
(package! intero)))
|
||||
(package! intero))
|
||||
((featurep! +lsp)
|
||||
(package! lsp-haskell)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue