Mercurial > vim
comparison runtime/doc/eval.txt @ 8738:e770986c855a v7.4.1658
commit https://github.com/vim/vim/commit/1473551a4457d4920b235eeeb9f279e196ee7225
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 26 21:00:08 2016 +0100
patch 7.4.1658
Problem: A plugin does not know when VimEnter autocommands were already
triggered.
Solution: Add the v:vim_did_enter variable.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 26 Mar 2016 21:15:05 +0100 |
parents | 06848fe9c816 |
children | b1a19a2f73f0 |
comparison
equal
deleted
inserted
replaced
8737:b3a380af91fb | 8738:e770986c855a |
---|---|
1759 Use |has()| to check if a certain patch was included, e.g.: > | 1759 Use |has()| to check if a certain patch was included, e.g.: > |
1760 if has("patch-7.4.123") | 1760 if has("patch-7.4.123") |
1761 < Note that patch numbers are specific to the version, thus both | 1761 < Note that patch numbers are specific to the version, thus both |
1762 version 5.0 and 5.1 may have a patch 123, but these are | 1762 version 5.0 and 5.1 may have a patch 123, but these are |
1763 completely different. | 1763 completely different. |
1764 | |
1765 *v:vim_did_enter* *vim_did_enter-variable* | |
1766 v:vim_did_enter Zero until most of startup is done. It is set to one just | |
1767 before |VimEnter| autocommands are triggered. | |
1764 | 1768 |
1765 *v:warningmsg* *warningmsg-variable* | 1769 *v:warningmsg* *warningmsg-variable* |
1766 v:warningmsg Last given warning message. It's allowed to set this variable. | 1770 v:warningmsg Last given warning message. It's allowed to set this variable. |
1767 | 1771 |
1768 *v:windowid* *windowid-variable* | 1772 *v:windowid* *windowid-variable* |