Tuesday, September 7, 2010

Re: Determine whether vim is loading or whether the VimEnter event was already fired

On 4 Sep., 08:23, Tom Link <micat...@gmail.com> wrote:
> Hi,
>
> Is there a general/standard way to determine whether vim is loading
> (before VimEnter) or whether the startup was already completed?
> Something like v:loading (similar to v:dying) maybe? I.e. how could I
> distinguish whether a script/plugin is loaded during startup or by
> means of a :source or :runtime command?
>
> Regards,
> Tom

has("vim_starting")

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

No comments: