mirror of
https://github.com/vim/vim.git
synced 2025-10-09 06:14:17 -04:00
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.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user