diff options
author | Dominique Pelle <dominique.pelle@gmail.com> | 2021-10-28 21:06:05 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-10-28 21:06:05 +0100 |
commit | 9cd063e3195a4c250c8016fa340922ab21fda252 (patch) | |
tree | 1b7909f6165b6742f89bb3702d1bfac07c22d7ec | |
parent | 44db603f691b58a8531e8ff528e0a7ce644257b2 (diff) | |
download | vim-git-9cd063e3195a4c250c8016fa340922ab21fda252.tar.gz |
patch 8.2.3567: CTRL-I in Insert mode is not testedv8.2.3567
Problem: CTRL-I in Insert mode is not tested
Solution: Add a test case. (Dominique Pellé, closes #8866)
-rw-r--r-- | src/testdir/test_edit.vim | 17 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 19 insertions, 0 deletions
diff --git a/src/testdir/test_edit.vim b/src/testdir/test_edit.vim index f0f04f049..6c76086a9 100644 --- a/src/testdir/test_edit.vim +++ b/src/testdir/test_edit.vim @@ -2034,4 +2034,21 @@ func Test_mode_changes() unlet! g:i_to_any endfunc +" Test toggling of input method. See :help i_CTRL-^ +func Test_edit_CTRL_hat() + CheckFeature xim + CheckNotGui " FIXME: why does this test fail when running in the GUI? + + new + + call assert_equal(0, &iminsert) + call feedkeys("i\<C-^>", 'xt') + call assert_equal(2, &iminsert) + call feedkeys("i\<C-^>", 'xt') + call assert_equal(0, &iminsert) + + bwipe! +endfunc + + " vim: shiftwidth=2 sts=2 expandtab diff --git a/src/version.c b/src/version.c index 570b7d067..68372cc05 100644 --- a/src/version.c +++ b/src/version.c @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3567, +/**/ 3566, /**/ 3565, |