Added hlint support for intero users
This commit is contained in:
parent
b38cbcd060
commit
f8581c3206
1 changed files with 4 additions and 1 deletions
|
@ -13,4 +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
|
||||
(set-lookup-handlers! 'intero-mode :definition #'intero-goto-definition))
|
||||
(set-lookup-handlers! 'intero-mode :definition #'intero-goto-definition)
|
||||
(when (featurep! :feature syntax-checker)
|
||||
(add-hook! 'intero-mode
|
||||
(flycheck-add-next-checker 'intero '(warning . haskell-hlint)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue