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:
Oliver Charles
2018-01-04 11:06:05 +00:00
committed by GitHub
parent 5dacbb7cb1
commit e688bd8c85

View File

@ -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))