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:
parent
5dacbb7cb1
commit
e688bd8c85
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue