vim-patch:7.4.1658

Problem:    A plugin does not know when VimEnter autocommands were already
            triggered.
Solution:   Add the v:vim_did_enter variable.

1473551a44
This commit is contained in:
James McCoy
2016-11-14 10:19:06 -05:00
parent 4539d867d4
commit 9d2985ecba
9 changed files with 31 additions and 2 deletions

View File

@@ -511,6 +511,7 @@ int main(int argc, char **argv)
if (p_im)
need_start_insertmode = TRUE;
set_vim_var_nr(VV_VIM_DID_ENTER, 1L);
apply_autocmds(EVENT_VIMENTER, NULL, NULL, FALSE, curbuf);
TIME_MSG("VimEnter autocommands");