diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-07-08 21:04:45 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-07-08 23:11:12 +0800 |
commit | 0d0a6aff6b89e2f48455b7f2f88e0b25d0a2080d (patch) | |
tree | 4bdeb8b5c39cda8a0f4697cc9462ceed30a4fc2a /src/nvim/testdir | |
parent | 45ba2e147f7b7d17acb489d64acc257ceded0887 (diff) | |
download | rneovim-0d0a6aff6b89e2f48455b7f2f88e0b25d0a2080d.tar.gz rneovim-0d0a6aff6b89e2f48455b7f2f88e0b25d0a2080d.tar.bz2 rneovim-0d0a6aff6b89e2f48455b7f2f88e0b25d0a2080d.zip |
vim-patch:8.2.0274: hang with combination of feedkeys(), Ex mode and :global
Problem: Hang with combination of feedkeys(), Ex mode and :global.
(Yegappan Lakshmanan)
Solution: Add the pending_exmode_active flag.
https://github.com/vim/vim/commit/9e2bcb5d23138d45a0b6f9c1542b5facc807efe7
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r-- | src/nvim/testdir/test_ex_mode.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_ex_mode.vim b/src/nvim/testdir/test_ex_mode.vim index c3f7fb45f4..68dda0868a 100644 --- a/src/nvim/testdir/test_ex_mode.vim +++ b/src/nvim/testdir/test_ex_mode.vim @@ -64,6 +64,14 @@ func Test_ex_mode() let &encoding = encoding_save endfunc +func Test_Ex_feedkeys() + " this doesn't do anything useful, just check it doesn't hang + new + call setline(1, ["foo"]) + call feedkeys("Qg/foo/visual\<CR>", "xt") + bwipe! +endfunc + func Test_ex_mode_errors() " Not allowed to enter ex mode when text is locked au InsertCharPre <buffer> normal! gQ<CR> |