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

GVM with go-vim #668

Open
bstromski opened this issue Sep 6, 2016 · 1 comment
Open

GVM with go-vim #668

bstromski opened this issue Sep 6, 2016 · 1 comment

Comments

@bstromski
Copy link

When using GVM a system golang doesn't have to be installed. The PATH for go changes depending on which version of golang your using.

Since /usr/bin/go does not exist vim-go is unable to pull in the dependencies automatically.

echo $GOPATH
/home/bstromski/.gvm/pkgsets/go1.7/global

echo $GOROOT
/home/bstromski/.gvm/gos/go1.7

which go
/home/bstromski/.gvm/gos/go1.7/bin/go

# From vim when running
:GoInstallBinaries
vim-go: go executable not found.

This is resolved by creating a symlink for /usr/bin/go to the go binary, but not a real fix since this changes when go version changes and symlink breaks. I can put some logic into the gvm code to fix, but i feel like the vim path should just work.

I tried this on a fresh pathogen install without janus and it works as expected btw.

@kalbasit
Copy link
Member

kalbasit commented Sep 6, 2016

Please report this upstream to vim-go. Looking at fatih/vim-go#85 it seems to have been fixed a while ago.

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