Checks for hlint for dante/intero users
This commit is contained in:
parent
f8581c3206
commit
ab6e18d61b
1 changed files with 6 additions and 3 deletions
|
@ -3,9 +3,7 @@
|
|||
|
||||
(when (featurep! +dante)
|
||||
(unless (executable-find "cabal")
|
||||
(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")))
|
||||
(warn! "Couldn't find cabal, haskell-mode may have issues")))
|
||||
|
||||
(when (featurep! +intero)
|
||||
(unless (executable-find "stack")
|
||||
|
@ -14,3 +12,8 @@
|
|||
(unless (executable-find "hindent")
|
||||
(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")))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue