commit | 1473551a4457d4920b235eeeb9f279e196ee7225 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Mar 26 21:00:08 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Mar 26 21:00:08 2016 +0100 |
tree | bd0515b263f9f2ea82effe2ef09073512078e838 | |
parent | 8fdd7210479f0c486822ad8934087b4bfd8a4765 [diff] [blame] |
patch 7.4.1658 Problem: A plugin does not know when VimEnter autocommands were already triggered. Solution: Add the v:vim_did_enter variable.
diff --git a/src/eval.c b/src/eval.c index 06f3585..c104695 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -372,6 +372,7 @@ {VV_NAME("true", VAR_SPECIAL), VV_RO}, {VV_NAME("null", VAR_SPECIAL), VV_RO}, {VV_NAME("none", VAR_SPECIAL), VV_RO}, + {VV_NAME("vim_did_enter", VAR_NUMBER), VV_RO}, }; /* shorthand */