mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/haskell: fail gracefully if stack isn't installed
This commit is contained in:
@ -2,8 +2,10 @@
|
||||
;;;###if (featurep! +intero)
|
||||
|
||||
(def-package! intero
|
||||
:hook (haskell-mode . intero-mode)
|
||||
:after haskell-mode
|
||||
:config
|
||||
(add-hook 'haskell-mode-hook #'+haskell|init-intero)
|
||||
|
||||
(unless (executable-find "stack")
|
||||
(warn! "Couldn't find stack. Intero has been disabled."))
|
||||
|
||||
|
Reference in New Issue
Block a user