mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-15 13:23:42 -05:00
Rewrite doctor; move warn! blocks out in doctor.el files
This commit is contained in:
13
modules/lang/haskell/doctor.el
Normal file
13
modules/lang/haskell/doctor.el
Normal file
@@ -0,0 +1,13 @@
|
||||
;;; lang/haskell/doctor.el -*- lexical-binding: t; -*-
|
||||
|
||||
(when (featurep! +dante)
|
||||
(unless (executable-find "cabal")
|
||||
(warn! "Couldn't find cabal, haskell-mode may have issues"))
|
||||
|
||||
(unless (executable-find "ghc-mod")
|
||||
(warn! "Couldn't find ghc-mod on PATH. Code completion will not work")))
|
||||
|
||||
(when (featurep! +intero)
|
||||
(unless (executable-find "stack")
|
||||
(warn! "Couldn't find stack. Intero will not work")))
|
||||
|
Reference in New Issue
Block a user