这一般是配置中一些插件你没有安装,导致vim调用的时候出错。
具体是什么你没有描述,你自己查查吧。
给两个例子:
当使用Vim编辑java文件完整的未知选项完成#
I have set omnifuc in my .vimrc file :
setlocal omnifunc = javacomplete#complete
Then the exception comes out when i editing any file :
E518: Unknown option: javacomplete#complete
2017年02月24日16分31秒
Remove the space after the =. With this space vim is interpreting the javacomplete#complete as a vim option.
Here is an excerpt from vim's help on :set-args:
:se[t] {option}={value}
...
White space between {option} and '=' is allowed and
will be ignored. White space between '=' and {value}
is not allowed.
---------------------------------------------------
请问一下使用vim时经常会出现如下这一行
Vim(setlocal):E518: 未知的选项: balloonexpr=
但按回车后也没什么问题,可以照常使用,可是每次都需要去按回车也太痛苦了,所以请问一下这个该怎么解决?谢谢
具体是哪一行设错了,以错误信息里的balloonexpr为关键词,搜一下就知道了。
没有,vimrc中没有这个词,就在网上找到一个什么 vim的气泡表达式求值中有这个,但是还没看懂这个是做什么的