aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-11-14 10:19:06 -0500
committerJames McCoy <jamessan@jamessan.com>2016-11-14 14:16:40 -0500
commit9d2985ecba47968c54590203e89a6614e61020d3 (patch)
treec1cc92ede29aea398c9c1f1ae2072fa201a2ae72 /src/nvim/eval.c
parent4539d867d491c9ca748f3d2de505092c4769824d (diff)
downloadrneovim-9d2985ecba47968c54590203e89a6614e61020d3.tar.gz
rneovim-9d2985ecba47968c54590203e89a6614e61020d3.tar.bz2
rneovim-9d2985ecba47968c54590203e89a6614e61020d3.zip
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. https://github.com/vim/vim/commit/1473551a4457d4920b235eeeb9f279e196ee7225
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r--src/nvim/eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 5d4241c8af..b8173c7570 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -384,6 +384,7 @@ static struct vimvar {
VV(VV_NULL, "null", VAR_SPECIAL, VV_RO),
VV(VV__NULL_LIST, "_null_list", VAR_LIST, VV_RO),
VV(VV__NULL_DICT, "_null_dict", VAR_DICT, VV_RO),
+ VV(VV_VIM_DID_ENTER, "vim_did_enter", VAR_NUMBER, VV_RO),
};
#undef VV