1
0
forked from aniani/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.
This commit is contained in:
Bram Moolenaar
2016-03-26 21:00:08 +01:00
parent 8fdd721047
commit 1473551a44
8 changed files with 30 additions and 2 deletions

View File

@@ -372,6 +372,7 @@ static struct vimvar
{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 */