These are chat archives for Shougo/dein.vim
OK. I have solved hook problem by using String for
hook_post_update. But there seems another problem that
dein#clear_state()does not delete the state file when
g:dein#cache_directoryis set. Here is my minimal configuration:
let g:dein#install_process_timeout = 3600 let g:dein#cache_directory = $HOME . '/.cache/dein' set runtimepath+=$HOME/.vim/dein/repos/github.com/Shougo/dein.vim if dein#load_state($HOME . '/.cache/dein') call dein#begin($HOME . '/.vim/dein') call dein#add($HOME . '/.vim/dein/repos/github.com/Shougo/dein.vim') ... call dein#end() call dein#save_state() endif
Hi Shougo, if I have set
g:dein#cache_directory to a machine specific path such as
~/.cache/dein and use a symlink to a directory in my Dropbox for
~/.vim, does that mean if I have updated the plugins on one machine, it won't be updated on another machine (because the cache is not updated and only the repos are synced and updated)? My configuration is still like above. Thanks.
because the cache is not updated and only the repos are synced and updated
dein#recache_runtimepath()is cache update.
dein#update()is repos and cache update.
state_*.vimfiles records absolute paths for the the runtimepaths, but the paths are different on my several machines (differens OS). Maybe I have to execute
dein#recache_runtimepath()on my every machines after I update the plugins.
dein#recach_runtimepath()automatically if there is difference?