It wasn't working in the first haskell buffer because of a race condition. Intero was loading too late to register lookup handlers for haskell-mode (for the first buffer). By setting it to intero-mode, it is registered in time for intero-mode's activation.
This commit is contained in:
parent
fe6a9b0cd8
commit
253fd77b2a
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ This is necessary because `intero-mode' doesn't do its own error checks."
|
|||
(add-hook 'haskell-mode-hook #'+haskell|init-intero)
|
||||
:config
|
||||
(add-hook 'intero-mode-hook #'flycheck-mode)
|
||||
(set-lookup-handlers! 'haskell-mode :definition #'intero-goto-definition))
|
||||
(set-lookup-handlers! 'intero-mode :definition #'intero-goto-definition))
|
||||
|
||||
|
||||
(def-package! hindent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue