diff src/testdir/test_ex_mode.vim @ 19433:af9d5585cfbf v8.2.0274

patch 8.2.0274: hang with combination of feedkeys(), Ex mode and :global Commit: https://github.com/vim/vim/commit/9e2bcb5d23138d45a0b6f9c1542b5facc807efe7 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 18 21:33:00 2020 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Tue, 18 Feb 2020 21:45:04 +0100
parents 67fbe280a502
children cb73f4ae6b7c
line wrap: on
line diff
--- 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