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
|
: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)))
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,10 @@
|
||||||
(after! purescript-mode
|
(after! purescript-mode
|
||||||
(add-hook! 'purescript-mode-hook
|
(add-hook! 'purescript-mode-hook
|
||||||
#'(purescript-indentation-mode
|
#'(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
|
;; (def-package! flycheck-purescript
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue