Merge pull request #915 from myme/develop
Haskell + PureScript module improvements
This commit is contained in:
commit
0a1f42e25d
2 changed files with 5 additions and 1 deletions
|
@ -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)))
|
||||
|
||||
|
|
|
@ -3,7 +3,10 @@
|
|||
(after! purescript-mode
|
||||
(add-hook! 'purescript-mode-hook
|
||||
#'(purescript-indentation-mode
|
||||
rainbow-delimiters-mode)))
|
||||
rainbow-delimiters-mode))
|
||||
(set-lookup-handlers! 'purescript-mode
|
||||
:definition #'psc-ide-goto-definition
|
||||
:documentation #'purescript-pursuit))
|
||||
|
||||
|
||||
;; (def-package! flycheck-purescript
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue