From 663c57cd369f3004e449eaadd81a3d87855575a4 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 11 Nov 2017 12:05:15 +0100 Subject: [PATCH] =?UTF-8?q?[Haskell]=20Fix=20wrong=20order=20of=20custom?= =?UTF-8?q?=20=E2=80=98add-hook=E2=80=99=20calls?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index cca9754..b2c7a9c 100644 --- a/init.el +++ b/init.el @@ -1229,12 +1229,12 @@ Certificates are assumed to be of the form *.crt." (setq haskell-program-name "ghci") (add-hook 'haskell-mode-hook 'haskell-doc-mode) (add-hook 'haskell-mode-hook 'turn-on-haskell-indent) - (add-hook 'haskell-mode-hook 'company-mode) (add-hook 'haskell-mode-hook (lambda () (set (make-local-variable 'company-backends) (append '((company-capf company-dabbrev-code)) company-backends)))) + (add-hook 'haskell-mode-hook 'company-mode) (add-hook 'haskell-mode-hook 'flycheck-mode) (require 'haskell-indentation)