lang/go: show annotations in code-completion popups

This commit is contained in:
Henrik Lissner 2018-02-02 04:26:00 -05:00
parent c319b606cd
commit eaeb495b18
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -91,6 +91,7 @@
:when (featurep! :completion company)
:after go-mode
:config
(setq company-go-show-annotation t)
(if (executable-find command-go-gocode-command)
(set! :company-backend 'go-mode '(company-go))
(warn "go-mode: couldn't find gocode, code completion won't work")))