On 2016-04-02 13:22:18 +0000, Bram Moolenaar said:
Nicola wrote:
What do you think about adding a command that loads all the plugins in an opt
directory at once? Something like:
:packaddall[!] {name} Search for a package directory in 'packpath' and source
all the plugin files found inside each optional plugin
directory in that package. The directory must match:
pack/{name}
For each directory pack/{name}/opt/foobar, a
`:packadd[!] foobar` command is issued.
Well, although I don't think this is a bad idea, I think we also need to
push plugin/package writers to set it up properly.
In general, ":packadd <name>" should be sufficient to load whatever
"name" does. There can be other optional plugins that the user may want
to load or not. :packaddall sounds more like "load everything that
happened to be in that archive". Might work now, but with the next
update it might add a plugin for debugging that you don't want.
Yes, this is a compelling remark. It is better not to make such things
too easy.
Nicola
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.