Mercurial > vim
diff src/testdir/test_autocmd.vim @ 15687:cb501b3c9fb5 v8.1.0851
patch 8.1.0851: feedkeys() with "L" does not work properly
commit https://github.com/vim/vim/commit/8d4ce56a19ed14d13332f94ad592fff2d9a715d5
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 30 22:01:40 2019 +0100
patch 8.1.0851: feedkeys() with "L" does not work properly
Problem: feedkeys() with "L" does not work properly.
Solution: Do not set typebuf_was_filled when using "L". (Ozaki Kiichi,
closes #3885)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 30 Jan 2019 22:15:07 +0100 |
parents | 8513d9864f7e |
children | a3e2e7948ee4 |
line wrap: on
line diff
--- a/src/testdir/test_autocmd.vim +++ b/src/testdir/test_autocmd.vim @@ -50,7 +50,7 @@ if has('timers') au CursorHoldI * let g:triggered += 1 set updatetime=500 call job_start(has('win32') ? 'cmd /c echo:' : 'echo', - \ {'exit_cb': {j, s -> timer_start(1000, 'ExitInsertMode')}}) + \ {'exit_cb': {-> timer_start(1000, 'ExitInsertMode')}}) call feedkeys('a', 'x!') call assert_equal(1, g:triggered) unlet g:triggered