mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.2341
Problem: Tiny things. Test doesn't clean up properly. Solution: Adjust comment and white space. Restore option value.
This commit is contained in:
parent
4c18670e91
commit
4a2e6f460d
@ -2294,7 +2294,7 @@ int do_ecmd(
|
||||
}
|
||||
|
||||
// Close the link to the current buffer. This will set
|
||||
// curwin->w_buffer to NULL.
|
||||
// oldwin->w_buffer to NULL.
|
||||
u_sync(false);
|
||||
close_buffer(oldwin, curbuf,
|
||||
(flags & ECMD_HIDE) || curbuf->terminal ? 0 : DOBUF_UNLOAD,
|
||||
|
@ -33,6 +33,7 @@ if has('timers')
|
||||
call feedkeys('a', 'x!')
|
||||
call assert_equal(1, g:triggered)
|
||||
au! CursorHoldI
|
||||
set updatetime&
|
||||
endfunc
|
||||
|
||||
func Test_cursorhold_insert_ctrl_x()
|
||||
@ -44,6 +45,7 @@ if has('timers')
|
||||
call feedkeys("a\<C-X>", 'x!')
|
||||
call assert_equal(0, g:triggered)
|
||||
au! CursorHoldI
|
||||
set updatetime&
|
||||
endfunc
|
||||
endif
|
||||
|
||||
@ -223,6 +225,7 @@ func Test_augroup_warning()
|
||||
augroup Another
|
||||
augroup END
|
||||
call assert_true(match(execute('au VimEnter'), "-Deleted-.*VimEnter") >= 0)
|
||||
augroup! Another
|
||||
|
||||
" no warning for postpone aucmd delete
|
||||
augroup StartOK
|
||||
|
@ -100,7 +100,7 @@ static int included_patches[] = {
|
||||
// 2344 NA
|
||||
// 2343,
|
||||
// 2342 NA
|
||||
// 2341,
|
||||
2341,
|
||||
// 2340 NA
|
||||
// 2339,
|
||||
// 2338 NA
|
||||
|
Loading…
Reference in New Issue
Block a user