commit
c4ed1031a5
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|init)
|
||||
:config
|
||||
;; Does some strange indentation if it pastes in the snippet
|
||||
(setq-hook! 'haskell-mode-hook yas-indent-line 'fixed))
|
|
@ -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