emacsorphanage / go-eldoc

eldoc for go language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`go-eldoc-setup` doesn't work via adding it to `go-mode-hook`

rsljdkt opened this issue · comments

I added this in emacs init file: (add-hook 'go-mode-hook #'go-eldoc-setup), but eldoc doesn't show function/variable information in minibuffer when .go file opened.
the value of go-mode-hook is:

(go-eldoc-setup +lookup--init-go-mode-handlers-h doom-modeline-env-setup-go flycheck-golangci-lint-setup +lookup|init--set-go-mode)

If i run the go-eldoc-setup manually, eldoc works well.