lang/haskell: refactor +dante submodule
This commit is contained in:
parent
96a232b2ae
commit
c85fd98350
1 changed files with 3 additions and 2 deletions
|
@ -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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue