mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Checks for hlint for dante/intero users
This commit is contained in:
@ -3,9 +3,7 @@
|
|||||||
|
|
||||||
(when (featurep! +dante)
|
(when (featurep! +dante)
|
||||||
(unless (executable-find "cabal")
|
(unless (executable-find "cabal")
|
||||||
(warn! "Couldn't find cabal, haskell-mode may have issues"))
|
(warn! "Couldn't find cabal, haskell-mode may have issues")))
|
||||||
(unless (executable-find "hlint")
|
|
||||||
(warn! "Couldn't find hlint. Flycheck may have issues in haskell-mode")))
|
|
||||||
|
|
||||||
(when (featurep! +intero)
|
(when (featurep! +intero)
|
||||||
(unless (executable-find "stack")
|
(unless (executable-find "stack")
|
||||||
@ -14,3 +12,8 @@
|
|||||||
(unless (executable-find "hindent")
|
(unless (executable-find "hindent")
|
||||||
(warn! "Couldn't find hindent. hindent-mode won't work"))
|
(warn! "Couldn't find hindent. hindent-mode won't work"))
|
||||||
|
|
||||||
|
(when (or (featurep! +dante) (featurep! +intero))
|
||||||
|
(unless (executable-find "hlint")
|
||||||
|
(warn! "Couldn't find hlint. Flycheck may have issues in haskell-mode")))
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user