From 4cd6cd1ad5bf1586ad5b51186b5cb5a67dc11cd7 Mon Sep 17 00:00:00 2001 From: Mitch Tishmack Date: Wed, 8 Feb 2017 21:57:19 -0600 Subject: [PATCH] Add intero for haskell mode --- emacs.org | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/emacs.org b/emacs.org index 1c4faf5..d9d2398 100644 --- a/emacs.org +++ b/emacs.org @@ -984,12 +984,19 @@ Need to make haskell source be all pretty. :ensure t :config (progn + (use-package intero + :ensure t + :config + (progn + (add-hook 'haskell-mode-hook 'intero-mode) + ) + ) (use-package hindent :if (executable-find "hindent") :ensure t :config (progn - (add-hook 'haskell-mode-hook #'hindent-mode) + (add-hook 'haskell-mode-hook 'hindent-mode) ) ) (use-package flycheck-haskell :ensure t) @@ -1006,11 +1013,9 @@ Need to make haskell source be all pretty. :config (progn (autoload 'ghc-init "ghc" nil t) - (autoload 'ghc-debug "ghc" nil t) + (autoload 'ghc-debug "ghc" nil t) (add-hook 'haskell-mode-hook (lambda () - (ghc-init) - ) - ) + (ghc-init))) ) ) (add-hook 'haskell-mode-hook 'interactive-haskell-mode)