Lcd wrote: > With an optional package placed like this: > > pack/my/opt/mydebug/plugin/debugger.vim > > one can enable it with a packadd: > > packadd mydebug > > However, it seems to me it would make more sense to be able to do it > by calling: > > packadd my
No, that would defeat the possibility to load only part of a package. > The point is, the main problem packages are supposed to solve is to > be able to distribute groups of plugins as packages. So one could have: > > pack/mypack1/opt/plugin1 > pack/mypack1/opt/library1 > pack/mypack1/opt/library2 > > pack/mypack2/opt/plugin2 > pack/mypack2/opt/library3 > > and one would be able to enable / disable mypack1 and mypack2 > independently to one another, with > > packadd mypack1 > packadd mypack2 > > It seems to me this would make more sense than the current scheme: > > packadd plugin1 > packadd library1 > packadd library2 > > packadd plugin2 > packadd library3 > > --- simply because there's no point in having enabled just plugin1 and > library3. The mypack1 plugin would contain the packadd commands to load the libraries it uses. And that can change over time. The user should only do "packadd plugin1" and "packadd plugin2", the rest is loaded by the plugins. -- login: yes password: I don't know, please tell me password is incorrect login: yes password: incorrect /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" 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_dev" 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.
