You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go to line 117 and try to find the definition of f.pread(b,off) with ",dt".
vim-go will jump to the file_plan9.go instead of file_unix.go!!!
in this case, the behavior of GoDef should consider the GOOS and GOARCH environment variable, or should consider the current opened file postfix (which define the Architecture and OS, such as amd64, linux).
Hi @ericwq. I think this is a godef problem. vim-go is just a wrapper. I think there is already a PR: rogpeppe/godef#1 Can you please open your issue there? Thanks
i have the following mapping in the .vimrc:
while i browsing the golang source code.
$ pwd /Users/ericwq/dev/go/src/os $ vi file.go
go to line 117 and try to find the definition of f.pread(b,off) with ",dt".
vim-go will jump to the file_plan9.go instead of file_unix.go!!!
in this case, the behavior of GoDef should consider the GOOS and GOARCH environment variable, or should consider the current opened file postfix (which define the Architecture and OS, such as amd64, linux).
one thing to mention: the golang source directory is not under the GOPATH.
The text was updated successfully, but these errors were encountered: