lang/go: show annotations in code-completion popups
This commit is contained in:
parent
c319b606cd
commit
eaeb495b18
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@
|
||||||
:when (featurep! :completion company)
|
:when (featurep! :completion company)
|
||||||
:after go-mode
|
:after go-mode
|
||||||
:config
|
:config
|
||||||
|
(setq company-go-show-annotation t)
|
||||||
(if (executable-find command-go-gocode-command)
|
(if (executable-find command-go-gocode-command)
|
||||||
(set! :company-backend 'go-mode '(company-go))
|
(set! :company-backend 'go-mode '(company-go))
|
||||||
(warn "go-mode: couldn't find gocode, code completion won't work")))
|
(warn "go-mode: couldn't find gocode, code completion won't work")))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue