Shougo / dein.vim

:zap: Dark powered Vim/Neovim plugin manager
MIT License
3.43k stars 198 forks source link

dein did not update the cache automatically. #300

Closed zgpio closed 6 years ago

zgpio commented 6 years ago

Warning: I will close the bug issue without the minimal init.vim and the reproduce ways.

Problems summary

I use your vim config, the deinft.toml is in the list dein#_vimrcs. When I update deinft.toml, dein did not update the cache automatically. (I see the cache dir in dein/.cache/vimrc/.dein/after/ftplugin/...)

Environment Information (Required!)

Provide a minimal .vimrc with less than 50 lines (Required!)

You should put your deinft.toml into the vimrc's dir.

if &compatible
  set nocompatible
endif
set rtp^=~/.cache/dein/repos/github.com/Shougo/dein.vim

let s:path = expand('~/.cache/dein')
if dein#load_state(s:path)
  call dein#begin(s:path)

  call dein#load_toml('~/vimfiles/deinft.toml')

  call dein#end()
  call dein#save_state()
endif

filetype plugin indent on
syntax enable

The reproduce ways from Vim starting (Required!)

  1. update the [ftplugin] of deinft.toml
  2. see that dein/.cache/vimrc/.dein/after/ftplugin/...
  3. it need call dein#recache_runtimepath() to recache it.

Screen shot (if possible)

Upload the log messages by :redir and :message (if errored)

Shougo commented 6 years ago

I cannot reproduce the problem.

Please upload minimal init.vim and the reproduce instructions. If not, I will close the issue.

Shougo commented 6 years ago

I have tested and it works for me.