英文:
How do I get rid of this message in Vim when I'm working with golang files with Janus vim?
问题
我使用Vim打开一个hello.go文件(使用janus vim distro附带的nerdTree插件),然后出现了"vim-go: could not find 'gotags'. Run :GoInstallBinaries to fix it."的错误提示。我正在使用gvm。我可以使用gvm运行golang。如何使用gvm安装GoInstallBinaries以解决这个问题?我对golang还不太熟悉,所以我只是想要能够运行起来。
英文:
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
得分: 1
按照 sberry 的指示操作。在命令模式下,按下 : 键,然后输入 GoInstallBinaries
,然后按下回车键。这样应该会安装所有内容。
英文:
Do what sberry says. In command-mode, hit : and type GoInstallBinaries
, and hit enter. That should install everything.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论