Friday, February 26, 2016

Re: Packages

On Fr, 26 Feb 2016, Bram Moolenaar wrote:

>
> Matthew Desjardins wrote:
>
> > There have been a couple of people posting about how the new package
> > feature can, in its current state, replace Pathogen.
> >
> > https://groups.google.com/d/msg/vim_dev/BN5DuHpzzBc/OjoGDSqeEQAJ
> > https://groups.google.com/d/msg/vim_use/QHqDKtdqUkk/PY7WydFdAQAJ
> >
> > Could someone explain how? It doesn't seem to work for plugins that
> > don't have a "plugin" directory, and as far as I can tell from the
> > source it's not supposed to, either.
> >
> > Why was this decision made to only support plugins with a "plugin"
> > directory?
>
> It's very easy to add an empty plugin/foo.vim file. If you really need
> to, I would expect nearly every plugin to at least do something, such as
> defining a user command or mapping. Maybe it's empty if you only want to
> make a syntax file available.

Really a plugin directory is necessary? That sounds awkward. What about
colorschemes, indent or ftplugins and syntax scripts?

We could still change it, right?

> It would be possible to make another command than :loadplugin to find
> any directory with the specified name under 'packpath', but I don't see
> a good reason. Perhaps adding a remark to the documentation is
> sufficient?

I'd rather prefer it to be fixed instead of adding yet another command
or option.

Best,
Christian
--
Aus einer Menge von unordentlichen Strichen bildet man sich leicht
eine Gegend, aber aus unordentlichen Tönen keine Musik.
-- Georg Christoph Lichtenberg

--
--
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