event was already fired»,
присланное в 10:23:18 04 сентября 2010, Суббота,
отправитель Tom Link:
I know the way used in vim-addon-manager: it sets key in dictionary on VimEnter
event, so that at startup there is no `started_up' key and after there is.
By the way, :source/:runtime commands can be called during startup.
Текст сообщения:
> 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
No comments:
Post a Comment