lang/haskell: Register intero-company backend

This commit is contained in:
Martin Øinæs Myrseth 2018-09-28 08:07:43 +02:00
parent e44bb536b9
commit 39059702c8

View file

@ -15,6 +15,7 @@ This is necessary because `intero-mode' doesn't do its own error checks."
:config
(setq haskell-compile-cabal-build-command "stack build --fast")
(set-lookup-handlers! 'intero-mode :definition #'intero-goto-definition)
(set-company-backend! 'intero-mode 'intero-company)
(when (featurep! :feature syntax-checker)
(flycheck-add-next-checker 'intero '(warning . haskell-hlint)))