From 1e0f01890fc1574044619b5f01c30457c0fbc0dc Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 12 Nov 2017 12:36:51 +0100 Subject: [PATCH] =?UTF-8?q?[Haskell]=20One=20hook=20for=20=E2=80=98company?= =?UTF-8?q?-mode=E2=80=99=20is=20enough?= 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 0fbdb97..6e0e51a 100644 --- a/init.el +++ b/init.el @@ -1241,10 +1241,10 @@ Certificates are assumed to be of the form *.crt." (add-hook 'haskell-mode-hook 'turn-on-haskell-indent) (add-hook 'haskell-mode-hook (lambda () + (company-mode +1) (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)