mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/go: show annotations in code-completion popups
This commit is contained in:
@ -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")))
|
||||||
|
Reference in New Issue
Block a user