These are chat archives for Shougo/dein.vim

4th
Dec 2016
Shubham Chaudhary
@5hubh4m
Dec 04 2016 12:50
Couldn't there be a dein#unsource('plugin_name') to disable a plugin after it's sourced? I'm trying to have YouCompleteMe activated for clang files only, as it's not much good for me with other languages. I would like the plugin to be disabled for all FileTypes except 'c' and 'cpp'.
Shougo
@Shougo
Dec 04 2016 12:58
If it is sourced, cannot be disabled
Because Vim cannot restore the state.
It is impossible!
Because Vim cannot restore the state.
Disable certain filetypes are YouCompleteMe work.
Of course deoplete can do it.
Disable certain filetypes are YouCompleteMe work.
Can you restore the clock?
To unload the plugin is like it.
Shougo
@Shougo
Dec 04 2016 13:06
To unload the plugin is like it.
Shubham Chaudhary
@5hubh4m
Dec 04 2016 14:43
Thanks, I
'll figure a way around. dein is awesome, BTW!