[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Best Location for Vim 8.2 Plugins?



El Tue, 5 Oct 2021 09:56:30 +0200
Sebastian Ramacher <sramacher@debian.org> escribió:
> On 2021-09-05 15:19:33 +1000, Jai Flack wrote:
> > Hello,
> > 
> > What's the best place to put bundled Vim plugins now that vim82 has a
> > new package system? From the documentation,
> > /usr/share/vim/vim82/pack/ is the global directory for such plugins
> > (and I have confirmed it works correctly) however, Lintian complains
> > about the location.
> > 
> > Should I still place them according to how vim-plugin-manager
> > expects?  
> 
> Based on what the (neo)vim maintainer has done with vim-scripts,
> vim-plugin-manager is being phased out. I haven't seen any efforts to
> coordinate a transition to vim's packaging system, but I suppose
> looking at vim-scripts is a good starting point on how to install
> plugins for both vim and neovim.
> 
> Cheers

Indeed, the preferred way is now to use dh-vim-addon[1] to package vim
plugins.

A couple of recent examples I have been involved with using it can be
found at vim-solarized[2], and vim-toml[3], as reference.

1: https://salsa.debian.org/vim-team/dh-vim-addon
2: https://salsa.debian.org/vim-team/vim-solarized
3: https://salsa.debian.org/vim-team/vim-toml

-Marco

Attachment: pgp0gpQLvVCcH.pgp
Description: Firma digital OpenPGP


Reply to: