mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/haskell: Register intero-company backend
This commit is contained in:
@ -15,6 +15,7 @@ This is necessary because `intero-mode' doesn't do its own error checks."
|
|||||||
:config
|
:config
|
||||||
(setq haskell-compile-cabal-build-command "stack build --fast")
|
(setq haskell-compile-cabal-build-command "stack build --fast")
|
||||||
(set-lookup-handlers! 'intero-mode :definition #'intero-goto-definition)
|
(set-lookup-handlers! 'intero-mode :definition #'intero-goto-definition)
|
||||||
|
(set-company-backend! 'intero-mode 'intero-company)
|
||||||
(when (featurep! :feature syntax-checker)
|
(when (featurep! :feature syntax-checker)
|
||||||
(flycheck-add-next-checker 'intero '(warning . haskell-hlint)))
|
(flycheck-add-next-checker 'intero '(warning . haskell-hlint)))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user