Mercurial > vim
diff src/testdir/test_mapping.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 | 5c5d211bd5a8 |
line wrap: on
line diff
--- a/src/testdir/test_mapping.vim +++ b/src/testdir/test_mapping.vim @@ -215,7 +215,7 @@ func Test_map_timeout_with_timer_interru set timeout timeoutlen=1000 func ExitCb(job, status) - let g:timer = timer_start(1, {_ -> feedkeys("3\<Esc>", 't')}) + let g:timer = timer_start(1, {-> feedkeys("3\<Esc>", 't')}) endfunc call job_start([&shell, &shellcmdflag, 'echo'], {'exit_cb': 'ExitCb'})