Solving a Vim error: -complete used without allowing argumentsError, argumentsline
I’ve been getting these messages at startup since upgrading vim:
$ vim
Error detected while processing [...]/.vim/plugged/tlib_vim/plugin/02tlib.vim:
line 77: E1208: -complete used without allowing argumentsError detected while processing [...]/.vim/plugged/vim-fugitive/plugin/fugitive.vim:
line 470: E1208: -complete used without allowing argumentsline 471: E1208: -complete used without allowing argumentsline 475: E1208: -complete used without allowing argumentsline 478: E1208: -complete used without allowing arguments
Press ENTER or type command to continue
I guess Vim broke their interface and all plugin authors had to react. Upgrading 02tlib.vim
and vim-fugitive
were enough to fix it for me.
Here are some relevant links:
- E1208: Error detected while processing /usr/share/vim/vimfiles/plugin/fugitive.vim Issue #1791 tpope/vim-fugitive
- Remove unnecessary -complete on command with no arguments tpope/vim-fugitive@4cdeff8
- Fix error E1208 raised by vim >=8.2.3141 tomtom/tlib_vim@b5f9f6c
- patch 8.2.3141: no error when using :complete for :command without -n vim/vim@de69a73