mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 08:18:17 +00:00
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:
@@ -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");
|
||||
|
||||
|
Reference in New Issue
Block a user