mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 7.4.2346
Problem: Autocommand test fails when run directly, passes when run as part of test_alot. Solution: Add command to make the cursor move. Close a tab page.
This commit is contained in:
@@ -13,6 +13,9 @@ if has('timers')
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_cursorhold_insert()
|
func Test_cursorhold_insert()
|
||||||
|
" Need to move the cursor.
|
||||||
|
call feedkeys("ggG", "xt")
|
||||||
|
|
||||||
let g:triggered = 0
|
let g:triggered = 0
|
||||||
au CursorHoldI * let g:triggered += 1
|
au CursorHoldI * let g:triggered += 1
|
||||||
set updatetime=20
|
set updatetime=20
|
||||||
@@ -93,6 +96,7 @@ function Test_autocmd_bufwinleave_with_tabfirst()
|
|||||||
augroup END
|
augroup END
|
||||||
call setline(1, ['a', 'b', 'c'])
|
call setline(1, ['a', 'b', 'c'])
|
||||||
edit! a.txt
|
edit! a.txt
|
||||||
|
tabclose
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" SEGV occurs in older versions. (At least 7.4.2321 or older)
|
" SEGV occurs in older versions. (At least 7.4.2321 or older)
|
||||||
|
@@ -763,6 +763,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2346,
|
||||||
/**/
|
/**/
|
||||||
2345,
|
2345,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user