These are chat archives for Shougo/dein.vim

11th
Mar 2016
Shougo
@Shougo
Mar 11 2016 14:34
I have added dein#check_clean() feature.
ranranking
@ranranking
Mar 11 2016 21:16
I have one question, when using dein#load_state() and dein#save_state(), and open neovim with no files, I can not use the update function. There would be some error. After I opened any files, I can then use the function. Is it because with the state function, I can not use hooks sources? or is it a bug?
Shougo
@Shougo
Mar 11 2016 21:20
Is it because with the state function, I can not use hooks sources? or is it a bug?
It is intended behavior.
ranranking
@ranranking
Mar 11 2016 21:20
OK! I got it!
Shougo
@Shougo
Mar 11 2016 21:20
You must call dein#call_hook() manually if you need.
I have one question, when using dein#load_state() and dein#save_state(), and open neovim with no files, I can not use the update function. There would be some error.
Cannot use the update function?
Please describe more.
ranranking
@ranranking
Mar 11 2016 21:22
Oh, I thought you were saying that the update function was related to the hook function.
Shougo
@Shougo
Mar 11 2016 21:22
No. It is not related.
It seems different problem
ranranking
@ranranking
Mar 11 2016 21:23
For example, I open neovim from terminal by only typing nvim and opens no any files
and then, I type :call dein#update(), I got error message
Shougo
@Shougo
Mar 11 2016 21:23
Please upload the log
ranranking
@ranranking
Mar 11 2016 21:24
Error detected while processing function dein#update..dein#install#_update..<SNR>38_init_context:
line   11:
E121: Undefined variable: g:dein#install_progress_type
E15: Invalid expression: g:dein#install_progress_type
Press ENTER or type command to continue
If I open any files with neovim, I don't get these messages, and the update function works well
Shougo
@Shougo
Mar 11 2016 21:28
Fixed. Please update dein.vim
ranranking
@ranranking
Mar 11 2016 21:32
Thank you very much!