fix company-go loading before go-mode

This commit is contained in:
Cong Nguyen 2015-02-19 11:06:41 +07:00 committed by syl20bnr
parent ecd0fc0c52
commit 894c223c33

View file

@ -43,6 +43,6 @@ which require an initialization must be listed explicitly in the list.")
(use-package company-go
:if (boundp 'company-backends)
:defer t
:init (add-to-list 'company-backends 'company-go)
:init (eval-after-load 'go-mode '(add-to-list 'company-backends 'company-go))
)
)