0

I am trying to use go-eldoc, but its performance is too poor to always have on. This is what I currently have:

(use-package go-eldoc 
  :defer 2
  :hook (go-mode . go-eldoc-setup))
(use-package go-mode
  :defer 2
  :mode "\\.go\\'"
  :bind (("C-c o" . eldoc-mode))) 

It has the problems of:

  • being active by default
  • having to be pressed to turn it on and turn it off (i want a press it for info here only)
  • having to move point after turning it on to see the doc

Any ideas for improvement?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.