Wednesday, March 2, 2016

Re: Packages

Nikolay Pavlov wrote:

> 2016-03-02 1:43 GMT+03:00 Bram Moolenaar <Bram@moolenaar.net>:
> >
> > Matthew Desjardins wrote:
> >
> >> It also seems that even if a plugin has "plugin/*.vim" files, its
> >> "ftdetect" files aren't loaded in time.
> >
> > I suppose we should load them at the same time.
> >
> > I now notice that ftdetect isn't mentioned in the startup procedure.
> >
> > Still wondering what to call the command that adds a directory under
> > pack/opt to 'runtimepath':
> > :addfrompack
> > :packadd
> > :addrunpath
> >
> > ?
>
> I suggest :addplugin or :addpluginrtp to be consistent with :loadplugin.

I actually think that including the word "plugin" is confusing, because
it can mean "the .vim file in the plugin directory". Basically "plugin"
is used both for that plugin/*.vim file and for the whole thing,
including syntax, indent, etc. file.

I think it's important emphasising that it's about a path (being added to
'runtimepath') and no actual loading happens.

--
"Lisp has all the visual appeal of oatmeal with nail clippings thrown in."
-- Larry Wall

/// Bram Moolenaar -- Bram@Moolenaar.net -- 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_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: