-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Hi,
this is just a question.
What is the reason for downloading the actual git repository to
$VOLTREPOSPATH and later copying or symlinking them to ~/.vim/pack/volt/opt
instead of storing them in ~/.vim/pack/volt/opt directly?
Since the bundled_plugconf.vim file is generated for the current profile,
the ~/.vim/pack/volt/opt directory could actually contain the repositories
for all profiles, but the bundled_plugconf.vim file would only load those
that are active in the current profile.
This would also allow the user to activate a plugin manually that is not
contained in the current profile.¹
Is there something I a missing? Is there some additional benefit of
separating the $VOLTREPOSPATH and the ~/.vim/pack/volt/opt directory?
I thought about adding an additional build strategy to volt for the purpose
of downloading the git repositories directly to ~/.vim/pack/volt/opt, but
noticed that this would be an intrusive change that needed to be applied to a
bunch of other places, too.
[¹] However, that would leave out the plugconf file for that plugin. To
allow reading the plugconf file in such a case the user would need a
vim-volt plugin that provides a command (e.g. Packadd) to load the package
with packadd and read in the corresponding plugconf file.