Friday, August 12, 2016

Re: How does one load plugin-specific settings after a plugin with the new packages feature?

On Friday, August 5, 2016 at 2:08:15 PM UTC-5, Bram Moolenaar wrote:
> Ben Fritz wrote:
>
> > Previously, when I installed a plugin, I could set up mappings to that plugin's functionality by putting commands in ~/vimfiles/after/plugin/someplugin_maps.vim
> >
> > Now with packages, this no longer works, because loading plugins is done as with ":runtime! plugin/**/*.vim" BEFORE loading packages.
> >
>
> [SNIP] I think it's fine to go through 'runtimepath' twice, once to use
> entries that don't end in "after", then load packages and then load the
> entries ending in "after".
>
> Is that not too weird?
>

I'll use whatever is intuitive and implemented. :-)

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