These are chat archives for Shougo/dein.vim

19th
Mar 2016
Shougo
@Shougo
Mar 19 2016 02:45
@Zeit-Werk Hm.
I have tested it, but I cannot reproduce it.
Please create the issue in vimproc
@wikimatze I don't want to add tag attribute.
Wang Shidong
@wsdjeg
Mar 19 2016 03:31
@Shougo do you use Yggdroot/indentLine?
Yggdroot/indentLine#149
this issue also reprodue with neobundle,so maybe it is a bug of indentline itself
Shougo
@Shougo
Mar 19 2016 03:58
I have commented it.
Alisue
@lambdalisue
Mar 19 2016 10:06
Hi
I wonder what dein#load_state() stands for. The help showed that dein#load_state() should enclose dein#begin() ~ dein#end() but :help dein-hooks told me that I must set autocmd before dein#end(). So you mean I have to separate configuration code for autocmd and others?
like
if dein#load_state(path)
  call dein#begin(path)
  " load toml or whatever
  " register autocmds
  call dein#end()
  call dein#save_state()
endif
" do other configuration
Alisue
@lambdalisue
Mar 19 2016 10:12
Or ... ?
Shougo
@Shougo
Mar 19 2016 10:21
I wonder what dein#load_state() stands for. The help showed that dein#load_state() should enclose dein#begin() ~ dein#end() but :help dein-hooks told me that I must set autocmd before dein#end(). So you mean I have to separate configuration code for autocmd and others?
It is the documentation bug.
Fixed.
Alisue
@lambdalisue
Mar 19 2016 10:22
Ok thanks :-)
Shougo
@Shougo
Mar 19 2016 10:22
You must register autocmd after endif
dein#load_cache() is the old interface.
I will remove it in the next version...
dein#load_state() is better.
Alisue
@lambdalisue
Mar 19 2016 10:23
Got it :+1:
Shougo
@Shougo
Mar 19 2016 10:50
Note: dein#load_cache() will be deprecated...