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

GoLang doesn't work on fresh installs on OS X #8

Closed
XenoPhex opened this issue Sep 16, 2018 · 3 comments
Closed

GoLang doesn't work on fresh installs on OS X #8

XenoPhex opened this issue Sep 16, 2018 · 3 comments

Comments

@XenoPhex
Copy link

Looks like it's not installing/creating the $HOME/.local/share/nvim/go directory, nore are you able to run :GoInstallBinaries post install.

How to reproduce after XCode/command line tools is installed:

$ brew install python3 neovim
...
$ pip3 install neovim
...
$ nvim
...
$ ls $HOME/.local/share/nvim
plugged shada site swap undo view
@XenoPhex XenoPhex changed the title GoLang doesn't work on fresh config installs on OS X GoLang doesn't work on fresh installs on OS X Sep 16, 2018
@XenoPhex
Copy link
Author

Additional notes:

  • At some point while trying to debug this, :GoInstallBinaries did work but it appears to have installed these binaries in by real $GOPATH/bin dir.
  • I was able to get tab completion working again once I did the following:
    • removed all the binaries from my real $GOPATH/bin dir
    • mkdir -p $HOME/.local/share/nvim/go
    • open nvim and run :GoInstallBinaries
  • [even after the previous fix] :A on GoLang files appears to be returning No alternate files despite a test existing right next to the current file.

@luan luan closed this as completed in 2cc672f Nov 4, 2018
@luan
Copy link
Owner

luan commented Nov 4, 2018

@XenoPhex got :A working through projectionist now.
Thanks for looking into it. Sorry it took me so long to get to this issue.

@luan
Copy link
Owner

luan commented Nov 4, 2018

And oh, pushed a commit that fixes fresh install by making that directory properly.

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