How do I get rid of this message in Vim when I'm working with golang files with Janus vim?

2.2k views Asked by At

I use Vim to open up a hello.go file (using the nerdTree plugin included with janus vim distro) and get "vim-go: could not find 'gotags'. Run :GoInstallBinaries to fix it.". I'm using gvm. I can get golang to run with gvm. How do I install GoInstallBinaries with gvm to get rid of this message? I'm pretty new to golang, so I'm just trying to get up and running.

1

There are 1 answers

2
robbrit On

Do what sberry says. In command-mode, hit : and type GoInstallBinaries, and hit enter. That should install everything.