neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit f80cf0f84f6e39dc3dfd1697eb911ac28b6ec97d
parent 4111530806741bc25bd426ec9b7e9340bdd57991
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Sat, 13 May 2023 22:28:34 +0800

vim-patch:9.0.0249: no test for what 9.0.0234 fixes

Problem:    No test for what 9.0.0234 fixes.
Solution:   Add a test. (issue vim/vim#10950)

https://github.com/vim/vim/commit/3a7ad904d27d904e57f7a22eb33872a587ae6673

Co-authored-by: Bram Moolenaar <Bram@vim.org>

Diffstat:
Mtest/old/testdir/test_cmdwin.vim | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/test/old/testdir/test_cmdwin.vim b/test/old/testdir/test_cmdwin.vim @@ -21,5 +21,12 @@ func Test_cmdwin_virtual_edit() set ve= cpo-=$ endfunc +" Check that a :normal command can be used to stop Visual mode without side +" effects. +func Test_normal_escape() + call feedkeys("q:i\" foo\<Esc>:normal! \<C-V>\<Esc>\<CR>:\" bar\<CR>", 'ntx') + call assert_equal('" bar', @:) +endfunc + " vim: shiftwidth=2 sts=2 expandtab