Merge pull request #323 from ocharles/patch-1

haskell: Fix warning about ghc-mod
This commit is contained in:
Henrik Lissner 2018-01-04 17:01:01 -05:00 committed by GitHub
commit 4af4803e0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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