-
-
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
mingw: GoDef (and various other commands) don't work, potentially due to pathing issue #3602
Comments
Yes, I suspect this is the same as #3447. |
I may be able to solve this. Can you help me by giving me some information?
|
Thanks for taking the time to look into this! |
One last question. Is |
It seems it comes with Git:
|
Can you enable debugging with |
For
For
|
What did you do? (required: The issue will be closed when not provided)
Try to execute
:GoDef
.What did you expect to happen?
Cursor should jump to the definition of the identifier.
What happened instead?
Nothing, except for a message
vim-go: [definition] SUCCESS
being printed in the status bar.I suspect it is related to my trying to use bash shell provided by git, so maybe the underlying issue is the same as in this issue #3447
On that note, running
:GoRun
gives this output"C:\Program Files\Git\bin\bash.exe" -c ""go" "run" "C:\Users\Me\Desktop\testing\go\main.go"" CreateFile C:UsersMeDesktoptestinggomain.go: The system cannot find the file specified. shell returned 1
Configuration (MUST fill this out):
vim-go version:
Not sure how to check this. The commit hash is 1401b57 (from my plugged directory).
vimrc
you used to reproduce:vimrc
Vim version (first three lines from
:version
):VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jul 29 2021 22:03:00)
MS-Windows 64-bit GUI version with OLE support
Included patches: 1-3249
Go version (
go version
):go version go1.21.4 windows/amd64
Go environment
go env
Output:gopls version
gopls version
Output:The text was updated successfully, but these errors were encountered: