diff options
author | James McCoy <jamessan@jamessan.com> | 2016-11-14 16:16:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-14 16:16:18 -0500 |
commit | 0c799a8f10b345236efca08f51ffece0e1d1e85d (patch) | |
tree | 4556d12ec412b0ff6a24aca20171581bea8e92aa /src/nvim/main.c | |
parent | 4539d867d491c9ca748f3d2de505092c4769824d (diff) | |
parent | 0b686e9b61c92e13c32f1bbc126586437be8aade (diff) | |
download | rneovim-0c799a8f10b345236efca08f51ffece0e1d1e85d.tar.gz rneovim-0c799a8f10b345236efca08f51ffece0e1d1e85d.tar.bz2 rneovim-0c799a8f10b345236efca08f51ffece0e1d1e85d.zip |
Merge pull request #5606 from jamessan/vim-7.4.1658
vim-patch:7.4.1658
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index ffd9353252..1bd622bdba 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -511,7 +511,8 @@ int main(int argc, char **argv) if (p_im) need_start_insertmode = TRUE; - apply_autocmds(EVENT_VIMENTER, NULL, NULL, FALSE, curbuf); + set_vim_var_nr(VV_VIM_DID_ENTER, 1L); + apply_autocmds(EVENT_VIMENTER, NULL, NULL, false, curbuf); TIME_MSG("VimEnter autocommands"); /* When a startup script or session file setup for diff'ing and |