Closed aletheia7 closed 8 years ago
Hi @aletheia7. That's because probably of cgo and how guru finds them. There is not much I can do on vim-go because the underlying guru
can't find these. Please open an issue on https://github.com/golang/go/issues to get more information. Thanks
Thank you.
@fatih
I opened an issue for guru as recommended above. guru can parse packages under vendor, but it does not parse packages under vendor that import "C." See: https://github.com/golang/go/issues/15710 for details. Perhaps you may want to add a note in :h vim-go
or your README.md in order to clear-up any confusion with vim-go when this conditions occurs.
@fatih i dont even have cgo but i have the same problem it actually gives me error right after i open any go file
actually my error message says no identifier here
go 1.9 fixed this issue.
i actually have go1.9 and this issue start to happen out of nowhere just yesterday when i updated the plugins
im already using 1.9 @aletheia7
Do 2.
i did already and actually nothing changes
Remove all plugins except vim-go. Work? If so, add plugins one-by-one until you find the problem.
now i dont have any plugin installed except color scheme wakatime and vim-go yet i still get the same error
@aletheia7 can we continue under #1590
@NikosEfthias sure
Actual behavior
Put cursor on a func such as zmq4.NewSocket(zmq4.ROUTER) and type :GoDef.
Expected behavior
vim would open a new window just like it does for log.Println().
Steps to reproduce:
Please create a reproducible case of your problem. Re produce it with a minimal
vimrc
with all plugins disabled and onlyvim-go
enabled:Create a go test program using the following source code:
Configuration
Add here your current configuration and additional information that might be useful, such as:
vimrc
you used to reproduceDebian: 7.4.1689-3
go version go1.6.1 linux/386