mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
haskell: Fix warning about ghc-mod
The warning confusingly states that `ghc-mode` couldn't be found, implying it's some kind of emacs mode. However, the predicate is actually checking for the `ghc-mod` executable, which is something entirely different.
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
:config
|
||||
(if (executable-find "ghc-mod")
|
||||
(set! :company-backend 'haskell-mode #'company-ghc)
|
||||
(warn "haskell-mode: couldn't find ghc-mode")
|
||||
(warn "haskell-mode: couldn't find ghc-mod on PATH")
|
||||
(remove-hook 'haskell-mode-hook #'ghc-comp-init))
|
||||
|
||||
(setq company-ghc-show-info 'oneline))
|
||||
|
Reference in New Issue
Block a user