refactor(haskell): move +lsp setup to config.el
This commit is contained in:
parent
11f7b9b41a
commit
7d42c60f5a
2 changed files with 7 additions and 12 deletions
|
@ -1,8 +0,0 @@
|
||||||
;;; lang/haskell/+lsp.el -*- lexical-binding: t; -*-
|
|
||||||
|
|
||||||
(use-package! lsp-haskell
|
|
||||||
:after lsp-mode
|
|
||||||
:preface (add-hook 'haskell-mode-local-vars-hook #'lsp!)
|
|
||||||
:config
|
|
||||||
;; Does some strange indentation if it pastes in the snippet
|
|
||||||
(setq-hook! 'haskell-mode-hook yas-indent-line 'fixed))
|
|
|
@ -43,7 +43,10 @@
|
||||||
"H" #'haskell-hide-toggle-all))
|
"H" #'haskell-hide-toggle-all))
|
||||||
|
|
||||||
|
|
||||||
;;
|
(use-package! lsp-haskell
|
||||||
;;; Backends
|
:when (featurep! +lsp)
|
||||||
|
:after lsp-mode
|
||||||
(when (featurep! +lsp) (load! "+lsp"))
|
:preface (add-hook 'haskell-mode-local-vars-hook #'lsp!)
|
||||||
|
:config
|
||||||
|
;; Does some strange indentation if it pastes in the snippet
|
||||||
|
(setq-hook! 'haskell-mode-hook yas-indent-line 'fixed))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue