| @@ -984,12 +984,19 @@ Need to make haskell source be all pretty. | |||||
| :ensure t | :ensure t | ||||
| :config | :config | ||||
| (progn | (progn | ||||
| (use-package intero | |||||
| :ensure t | |||||
| :config | |||||
| (progn | |||||
| (add-hook 'haskell-mode-hook 'intero-mode) | |||||
| ) | |||||
| ) | |||||
| (use-package hindent | (use-package hindent | ||||
| :if (executable-find "hindent") | :if (executable-find "hindent") | ||||
| :ensure t | :ensure t | ||||
| :config | :config | ||||
| (progn | (progn | ||||
| (add-hook 'haskell-mode-hook #'hindent-mode) | |||||
| (add-hook 'haskell-mode-hook 'hindent-mode) | |||||
| ) | ) | ||||
| ) | ) | ||||
| (use-package flycheck-haskell :ensure t) | (use-package flycheck-haskell :ensure t) | ||||
| @@ -1006,11 +1013,9 @@ Need to make haskell source be all pretty. | |||||
| :config | :config | ||||
| (progn | (progn | ||||
| (autoload 'ghc-init "ghc" nil t) | (autoload 'ghc-init "ghc" nil t) | ||||
| (autoload 'ghc-debug "ghc" nil t) | |||||
| (autoload 'ghc-debug "ghc" nil t) | |||||
| (add-hook 'haskell-mode-hook (lambda () | (add-hook 'haskell-mode-hook (lambda () | ||||
| (ghc-init) | |||||
| ) | |||||
| ) | |||||
| (ghc-init))) | |||||
| ) | ) | ||||
| ) | ) | ||||
| (add-hook 'haskell-mode-hook 'interactive-haskell-mode) | (add-hook 'haskell-mode-hook 'interactive-haskell-mode) | ||||