Skip to content

Commit

Permalink
Prefer intero-global-mode for enabling intero with haskell
Browse files Browse the repository at this point in the history
This allows customisation of intero-whitelist and intero-blacklist to
control which projects actually use intero.
  • Loading branch information
purcell committed May 12, 2017
1 parent cde83ed commit f84ca8d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lisp/init-haskell.el
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@

(when (maybe-require-package 'intero)
(after-load 'haskell-mode
(add-hook 'haskell-mode-hook 'intero-mode)
(add-hook 'haskell-mode-hook 'eldoc-mode)
)
(intero-global-mode)
(add-hook 'haskell-mode-hook 'eldoc-mode))
(after-load 'intero
(after-load 'flycheck
(flycheck-add-next-checker 'intero
Expand Down

0 comments on commit f84ca8d

Please sign in to comment.