Bug#827627: Please support packaging vim addons as vim "packages"

Antonio Terceiro terceiro at debian.org
Mon Aug 22 16:18:41 UTC 2016


On Sun, Aug 21, 2016 at 03:33:25PM -0400, James McCoy wrote:
> On Sat, Jun 18, 2016 at 09:41:12PM -0700, Josh Triplett wrote:
> > On Sat, Jun 18, 2016 at 11:55:17PM -0400, James McCoy wrote:
> > > On Jun 18, 2016 6:03 PM, "Josh Triplett" <josh at joshtriplett.org> wrote:
> > > > I would suggest installing packages under /usr/share/vim/packages, and
> > > > replacing the "files" key in the registry yaml files with "package:
> > > > pkgname", where pkgname matches the top-level directory in
> > > > /usr/share/vim/packages.  When installing a package, vim-addon-manager
> > > > should just make a single symlink from ~/.vim/pack/$pkgname to
> > > > /usr/share/vim/packages/$pkgname.
> > > 
> > > Good suggestions.  We currently use ~/.vim/bundle iirc, but since I don't
> > > think it's really used anywhere, I'd be fine changing it.
> > 
> > Some of the "automatically download and run code from github" plugin
> > systems use "bundle".  vim's built-in package handling uses "pack".
> 
> Thinking about this more, I'm considering a slight adaptation.  Rework
> the expected policy for the "directory" type addon (which was never
> officially released) to install under
> /usr/share/vim/packages/pack/dist-bundle/start and have a new "package"
> type addon which installs under /usr/share/vim/packages/pack (and should
> include start/ and/or opt/ as needed).  /usr/share/vim/packages would be
> added to 'packpath' by debian.vim (or similar).
> 
> Basically, all the existing addons could easily be changed to
> "directory" addons and if someone starts providing actual Vim packages,
> those are already supported.

works for me. TBH I am short in time to proactively help with
vim-related stuff, but if you need any help getting around
the vim-addon-manager code, feel free to ping me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20160822/a9e726a0/attachment.sig>


More information about the pkg-vim-maintainers mailing list