definitionHover: sometimes no source code for Go #4501
Answered
by
jackielii
vitaly-zdanevich
asked this question in
Q&A
-
Sometimes I see the code, but sometimes something like this: Or for Go you can recommend another Vim plugin? |
Beta Was this translation helpful? Give feedback.
Answered by
jackielii
Feb 6, 2023
Replies: 1 comment 11 replies
-
This looks like the right behaviour. When hovering over a function, |
Beta Was this translation helpful? Give feedback.
11 replies
Answer selected by
chemzqm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This looks like the right behaviour.
When hovering over a function,
gopls
will show the docs. When hovering a struct, the full method set will be shown. See gopls hoverKind and "Method information in hover" in gopls v0.10.0 release notes