summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-23 19:54:27 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-23 19:54:27 +0100
commit3a7ad904d27d904e57f7a22eb33872a587ae6673 (patch)
treee052af351a0be5a1d6cd995ae29615e063af2b77 /src
parenta247142ae45308087b25f91c8af48399c8ac2943 (diff)
downloadvim-git-3a7ad904d27d904e57f7a22eb33872a587ae6673.tar.gz
patch 9.0.0249: no test for what 9.0.0234 fixesv9.0.0249
Problem: No test for what 9.0.0234 fixes. Solution: Add a test. (issue #10950)
Diffstat (limited to 'src')
-rw-r--r--src/testdir/test_cmdwin.vim7
-rw-r--r--src/version.c2
2 files changed, 9 insertions, 0 deletions
diff --git a/src/testdir/test_cmdwin.vim b/src/testdir/test_cmdwin.vim
index 8cfb248f7..1c42cc09e 100644
--- a/src/testdir/test_cmdwin.vim
+++ b/src/testdir/test_cmdwin.vim
@@ -373,5 +373,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
diff --git a/src/version.c b/src/version.c
index 0a3d26b1e..22ad9aade 100644
--- a/src/version.c
+++ b/src/version.c
@@ -732,6 +732,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 249,
+/**/
248,
/**/
247,