My tech diary

ソフトウェアエンジニアをやっています。技術的内容を中心に調べたことを書いていきます。

Vim E1208: -complete used without allowing arguments エラー

Vim のバージョンを 8.2.3550 に上げた後、 Vim を開くと、以下のようなエラーが発生しました。

hint: Waiting for your editor to close the file... Error detected while processing /Users/t-murota/dotfiles/.vim/dein/.cache/.vimrc/.dein/plugin/fugitive.vim:
line  410: E1208: -complete used without allowing arguments
line  411: E1208: -complete used without allowing arguments

これは Vim 本体の patch v8.2.3141 にて加わった VimAPI 変更の影響を、プラグインである fugitive.vim が受けたことによるエラーメッセージになります。

この問題は fugitive.vim v3.4 にて修正されています。

私の場合、 Vimプラグイン管理に dein.vim を使っているので、以下のコマンドを叩いて、プラグインのアップデートを行い、 Vim を開き直すことで解消しました。

:call dein#update()

References