Wednesday, August 17, 2016

Re: Vim 8 pre-announcement

On 17 August 2016, Bryan Richter <b@chreekat.net> wrote:
> On Wed, Aug 17, 2016 at 02:11:03PM +0300, LCD 47 wrote:
> > On 17 August 2016, Bryan Richter <b@chreekat.net> wrote:
> > [...]
> > > In summary, every plugin I use today is not compatible with
> > > 'packages'.
> > [...]
> >
> > All plugins are compatible with packages. You just need to move
> > them from where you used to put them.
>
> Ok, I've seen some of the poor leaps I was making. Current packages
> are, in fact, compatible with 'packages'. Proof:
>
> With pathogen:
>
> packages=(
> a
> b
> ...)
> mkdir -p ~/.vim/bundle
> cd !$
> for p in $packages; do
> git clone $package
> done
>
> With packages:
>
> packages=(
> a
> b
> ...)
> for p in $packages; do
> mkdir -p ~/.vim/pack/$package/start
> cd !$
> git clone $package
> done

Or like this:

packages=(
a
b
...
)
mkdir -p ~/.vim/pack/bundle/start
cd !$
for p in $packages; do
git clone "$p"
done

> What is still true, however, is that any package designed for
> 'packages' will be incompatible with all current plugin managers,
> since they are unaware of the start/opt subdirectories.
[...]

No. You really should read the discussion on vim_dev. While the
current implementation didn't make everybody happy, plugins designed for
"packages" don't need to be incompatible with existing plugin managers.

/lcd

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment