My tech diary

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

dein.vim キャッシュクリア

Vim のバージョンアップ (再インストール) 後に Vim を開くと、以下のようなエラーが出るようになりました。

hint: Waiting for your editor to close the file... Warning: Cannot find word list "en.utf-8.spl" or "en.ascii.spl"
Warning: Cannot find word list "en.utf-8.spl" or "en.ascii.spl"
Warning: Cannot find word list "en.utf-8.spl" or "en.ascii.spl"
Error detected while processing /Users/tomohiro_murota/.vimrc:
line  187:
E185: Cannot find color scheme 'darkblue'

これは Vimプラグイン管理に使っている dein.vim によるキャッシュが原因でした。

以下のようにキャッシュクリアを行ってあげると、エラーは解消されます。

:call dein#recache_runtimepath()

References