[Haskell] One hook for ‘company-mode’ is enough
This commit is contained in:
parent
eb660677dd
commit
1e0f01890f
2
init.el
2
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)
|
||||
|
|
Loading…
Reference in New Issue