鍍金池/ 問答/HTML5  GO  Linux/ vim 編輯go文件報錯?

vim 編輯go文件報錯?

安裝https://www.cnblogs.com/chris... go的開發(fā)環(huán)境,結(jié)果編輯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

回答
編輯回答
懷中人

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

做開發(fā)的,英文就算再差,這一句總應(yīng)該能看懂吧

2018年8月22日 01:48
編輯回答
萌面人

不升級,g:go_version_warning怎么設(shè)置?

2017年8月13日 02:37
編輯回答
野橘

編輯vimrc
vim ~/.vimrc

添加一行
let g:go_version_warning = 0

保存退出 問題解決

2018年6月23日 11:12