comparison src/testdir/test_autocmd.vim @ 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
children c07caeb90a35
comparison
equal deleted inserted replaced
8737:b3a380af91fb 8738:e770986c855a
1 " Tests for autocommands
2
3 func Test_vim_did_enter()
4 call assert_false(v:vim_did_enter)
5
6 " This script will never reach the main loop, can't check if v:vim_did_enter
7 " becomes one.
8 endfunc