mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
refactor(haskell): move +lsp setup to config.el
This commit is contained in:
@ -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))
|
||||||
|
Reference in New Issue
Block a user