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

:GoInfo reports success but no results #2120

Closed
bhcleek opened this issue Jan 8, 2019 · 2 comments
Closed

:GoInfo reports success but no results #2120

bhcleek opened this issue Jan 8, 2019 · 2 comments

Comments

@bhcleek
Copy link
Collaborator

bhcleek commented Jan 8, 2019

What did you do? (required. The issue will be closed when not provided.)

In a short variable declaration and with g:go_info_mode='gocode' set, place the cursor variable name and then run :GoInfo.

What did you expect to happen?

A message that tells me that identifier at the cursor position could be found (because gocode does't know about the type of the identifier since it only looks up to the cursor position.

What happened instead?

A vim-go: [gocode] SUCCESS message.

related to #2119 (comment)

@stefanos82
Copy link

stefanos82 commented Jan 12, 2019

So, was I the first one who observed this peculiar behavior when I first reported it back in December in #2105?

With guru works as expected, but should I wait for a fix so I can switch back to gocode or I shouldn't worry about it?

@bhcleek
Copy link
Collaborator Author

bhcleek commented Jan 12, 2019

I'd never noticed that particular problem before, so I created the issue. #2122 should resolve it, but IMO, guru is better to use for g:go_info_mode.

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

No branches or pull requests

2 participants