Friday, August 28, 2015

Re: clearing plugin augroup

2015-08-28 18:30 GMT+03:00 Josef Fortier <josef.fortier@gmail.com>:
>> Put it into ~/.vim/after/plugin/name.vim.
>
> Thanks!
>
> FWIW, this little tidbit is hard to learn from googling, and seems quite generally applicable.
>
>> And read :h initialization.
>
> Good advice. So I did (probably not as thoroughly as I should).
>
> I see that plugins are loaded after exrc loaded local vimrc (and after vimrc). I know that ".vim/after" has special signifigence but I didn't see reference of it here.

Despite the fact that this directory is referenced in :h
after-directory it has absolutely *no* special meaning despite its
position in &runtimepath default value. Set &runtimepath setting to
another value and any special meaning will disappear.

>
> This raises a more general question, what is the absolute last file to get sourced? Or more generally, what is the reverse order?

There is no such a thing as "the absolute last file to get sourced".
VimEnter will be run after sourcing all plugins. Order is described in
:h initialization.

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

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