Open juaristi opened 8 years ago
Hi @juaristi
I agree docs is lake of it. Since I have no time to update it, I will explain it here in short:
You can register listener to detect vim-entry changes so that you can use it to load plugin on demand:
call vimentry#on( 'reset', function('exconfig#reset') )
call vimentry#on( 'changed', function('exconfig#apply') )
call vimentry#on( 'project_type_changed', function('exconfig#apply_project_type') )
Basically we will do this for project_type_changed.
The docs specifically say that it's possible to load additional plugins on a per-project basis by editing the
.exvim
file:However, I still haven't found how to do that. I've thoroughly scanned the docs, and even looked at the source code of relevant exvim plugins. Hints?
These
.exvim
files are not regular vim files, so I can't just putPlugin 'foo'
.This should be documented somewhere. Related: #58.