mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/haskell: refactor +dante submodule
This commit is contained in:
@ -3,9 +3,10 @@
|
|||||||
|
|
||||||
(def-package! dante
|
(def-package! dante
|
||||||
:after haskell-mode
|
:after haskell-mode
|
||||||
:init
|
:hook (haskell-mode . dante-mode)
|
||||||
(add-hook! 'haskell-mode-hook #'(dante-mode interactive-haskell-mode))
|
|
||||||
:config
|
:config
|
||||||
|
(add-hook 'haskell-mode-hook #'interactive-haskell-mode)
|
||||||
|
|
||||||
(unless (executable-find "cabal")
|
(unless (executable-find "cabal")
|
||||||
(warn "haskell-mode: couldn't find cabal")
|
(warn "haskell-mode: couldn't find cabal")
|
||||||
(remove-hook 'haskell-mode-hook #'dante-mode))
|
(remove-hook 'haskell-mode-hook #'dante-mode))
|
||||||
|
Reference in New Issue
Block a user