diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-02-18 21:33:00 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-02-18 21:33:00 +0100 |
commit | 9e2bcb5d23138d45a0b6f9c1542b5facc807efe7 (patch) | |
tree | a235c3311892fd24aafa6137c36d41e71b9b1640 /src/testdir/test_ex_mode.vim | |
parent | 1fa8d2c33d7290eda7dc2a94d4ec6a599a2d61dd (diff) | |
download | vim-git-9e2bcb5d23138d45a0b6f9c1542b5facc807efe7.tar.gz |
patch 8.2.0274: hang with combination of feedkeys(), Ex mode and :globalv8.2.0274
Problem: Hang with combination of feedkeys(), Ex mode and :global.
(Yegappan Lakshmanan)
Solution: Add the pending_exmode_active flag.
Diffstat (limited to 'src/testdir/test_ex_mode.vim')
-rw-r--r-- | src/testdir/test_ex_mode.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/test_ex_mode.vim b/src/testdir/test_ex_mode.vim index bf1010498..910c1a637 100644 --- a/src/testdir/test_ex_mode.vim +++ b/src/testdir/test_ex_mode.vim @@ -111,4 +111,12 @@ func Test_open_command() close! 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 + " vim: shiftwidth=2 sts=2 expandtab |