-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 not reporting type information #1927
Comments
I can confirm this is happening. Strangely, re-sourcing |
It was happening on my system due to the way I have it setup for development. You may have two copies of vim-go's |
I have not set GoInfo before vim-go is installed. But I have
And there indeed are two vim-go.
After removed them all and used
Other Go commands work fine. |
@bhcleek The #1926 won't help. Besides, after pathing the pull to master b6381dd , I got this error:
And if I run GoInfo via comand, I got this error message:
It seems GoInfo in
The log I got by running |
vim-polyglot is introducing older versions of vim-go code into your environment; please try to duplicate the problem without any other plugins loaded. |
@bhcleek After I removed other plugins, error messages won't be reported when I run GoInfo, but I always cannot get any response from GoInfo neither, sometimes I got .
You can get the whole log at New log with other plugins removed |
@pennz prior to 4fdc590,
and then try again. Note, however, that mdempsky/gocode does not autobuild_ your packages, so you're trying to run |
@bhcleek Thanks. Now it works better after following your steps and runing If I am editing this code,
|
@pennz it sounds like your original issue is resolved. I'm going to close this, but feel free to open a new issue to promote your most recent comment to a new issue. To debug your issue, you can run
And then analyze the output to see if you can identify the problem. Also, note that without using source mode in mdempsky/gocode, its results will be based on the package as it was last installed, so if you edit your source without installing, you may not see the info you expect. |
Thanks. I will debug about this and report whatever might be interesting. |
I've just upgraded vim-go and I'm getting the same error:
And so pressing space gives me the error, typing ":GoInfo" works. Does this ring any bells? |
Have the same issue. |
What did you do? (required. The issue will be closed when not provided.)
Install neo-vim and updated vim-go to the newest commit 0aa956f.
What did you expect to happen?
GoInfo can work fine.
What happened instead?
GoInfo cannot work. And it reports the following message when I tried to run GoInfo
After reset vim-go to 3d8f9d2, it works fine. I did not do the bisec, 3d8f9d2 is just a commit works fine for me.
Configuration (MUST fill this out):
vim-go version:
0aa956f
vimrc
you used to reproduce (use a minimal vimrc with other plugins disabled; do not link to a 2,000 line vimrc):Vim version (first three lines from
:version
):NVIM v0.3.1
Build type: Release
LuaJIT 2.0.5
Go version (
go version
):go version go1.10.1 darwin/amd64
Go environment (
go env
):The text was updated successfully, but these errors were encountered: