vim 编辑go文件报错?

安装https://www.cnblogs.com/chris... go的开发环境,结果编辑go文件报错,哪位大哥知道咋解决?

vim go_study/hello.go
vim-go requires Vim 7.4.1689 or Neovim, but you're using an older version.
Please update your Vim for the best vim-go experience.
If you really want to continue you can set this to make the error go away:

let g:go_version_warning = 0

Note that some features may error out or behave incorrectly.
Please do not report bugs unless you're using Vim 7.4.1689 or newer.
Press ENTER or type command to continue

阅读 7.5k
3 个回答
新手上路,请多包涵

编辑vimrc
vim ~/.vimrc

添加一行
let g:go_version_warning = 0

保存退出 问题解决

vim-go requires Vim 7.4.1689 or Neovim, but you're using an older version.

做开发的,英文就算再差,这一句总应该能看懂吧

不升级,g:go_version_warning怎么设置?

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题