mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Added stack build
support for intero users
This commit is contained in:
@ -13,6 +13,7 @@ This is necessary because `intero-mode' doesn't do its own error checks."
|
||||
(message "Couldn't find stack. Refusing to enable intero-mode."))))
|
||||
(add-hook 'haskell-mode-hook #'+haskell|init-intero)
|
||||
:config
|
||||
(setq haskell-compile-cabal-build-command "stack build --fast")
|
||||
(set-lookup-handlers! 'intero-mode :definition #'intero-goto-definition)
|
||||
(when (featurep! :feature syntax-checker)
|
||||
(flycheck-add-next-checker 'intero '(warning . haskell-hlint))))
|
||||
|
Reference in New Issue
Block a user