Tuesday, September 7, 2010

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

Ответ на сообщение «Re: Determine whether vim is loading or whether the VimEnter
event was already fired»,
присланное в 14:36:29 07 сентября 2010, Вторник,
отправитель anwoku:

Thanks, it appears that `vim_starting' is available at least from version 5.8.

Текст сообщения:
> 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")

No comments:

Post a Comment