MAC vim 每次打开报错 E1208: -complete used without allowing argumentsError
报错信息
Error detected while processing /Users/xxx/.vim_runtime/sources_non_forked/tlib/plugin/02tlib.vim:
line 77: E1208: -complete used without allowing argumentsError detected while processing /Users/xxx/.vim_runtime/sources_non_forked/vim-fugitive/plugin/fugitive.vim:
line 472: E1208: -complete used without allowing argumentsline 473: E1208: -complete used without allowing argumentsline 477: E1208: -complete used without allowing argumentsline 480: E1208: -complete used without allowing argumentsPress ENTER or type command to continue
解决方法
- 打开对应文件找到报错行,替换
-nargs=0
为-nargs=?
图中已经替换过了