Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: use gopls to get documentation under the cursor #2822

Merged
merged 5 commits into from
Apr 17, 2020

Conversation

bhcleek
Copy link
Collaborator

@bhcleek bhcleek commented Apr 11, 2020

lsp: use structured hover content
doc: use gopls for getting documentation under the cursor

Fixes #2808

doc: respect arguments to :GoDocBrowser

Make go#doc#OpenBrowser support :GoDocBrowser's optional argument to
open the browser to the requested identifier.

doc: use gopls to get link for :GoDocBrowser

Fixes #2295

remove gogetdoc

Remove gogetdoc because it is no longer used.

bhcleek added 3 commits April 17, 2020 10:42
Make go#doc#OpenBrowser support :GoDocBrowser's optional argument to
open the browser to the requested identifier.
Remove gogetdoc because it is no longer used.
@bhcleek bhcleek added this to the vim-go 1.23 milestone Apr 17, 2020
@bhcleek bhcleek merged commit 82a5ed6 into fatih:master Apr 17, 2020
@bhcleek bhcleek deleted the lsp/doc branch April 17, 2020 18:22
@mgartner
Copy link

Thanks @bhcleek! Sorry the the late response. I'll give it a try today.

bhcleek added a commit that referenced this pull request Apr 17, 2020
@mgartner
Copy link

Works great. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Alternative to gogetdoc for :GoDoc :GoDocBrowser anchor does not link to a struct when used on a field
2 participants