These are chat archives for Shougo/dein.vim

27th
Aug 2016
ranranking
@ranranking
Aug 27 2016 18:44
Hello, I am using the load_state and hook source feature. My question is that whether it is possible to cache the functions that are sourced by hook_source? I put my function inside the if dein#load_state() statement and it worked well at first. When I opened another file, it told me that the function is not found. I have to clear the state, and reload to make it work. If I put the function outside the if dein#load_state() statement, the error won't happen. Is this the only way to make it work?