diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-04-20 15:10:13 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-04-20 15:10:13 +0200 |
commit | abc7c7fc5a098374f5543a237e6c9dd918848b34 (patch) | |
tree | f1716b9f03139e8535a113e20a2f3b05b91f5915 /src/testdir/test_bufline.vim | |
parent | d2e716e6dfd50b605867c7c684373384c8edf707 (diff) | |
download | vim-git-abc7c7fc5a098374f5543a237e6c9dd918848b34.tar.gz |
patch 8.1.1189: mode is not cleared when leaving Insert modev8.1.1189
Problem: Mode is not cleared when leaving Insert mode.
Solution: Clear the mode when got_int is set. (Ozaki Kiichi, closes #4270)
Diffstat (limited to 'src/testdir/test_bufline.vim')
-rw-r--r-- | src/testdir/test_bufline.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_bufline.vim b/src/testdir/test_bufline.vim index 524144d5b..d2d692922 100644 --- a/src/testdir/test_bufline.vim +++ b/src/testdir/test_bufline.vim @@ -18,7 +18,7 @@ func Test_setbufline_getbufline() let b = bufnr('%') wincmd w call assert_equal(1, setbufline(b, 5, ['x'])) - call assert_equal(1, setbufline(1234, 1, ['x'])) + call assert_equal(1, setbufline(bufnr('$') + 1, 1, ['x'])) call assert_equal(0, setbufline(b, 4, ['d', 'e'])) call assert_equal(['c'], getbufline(b, 3)) call assert_equal(['d'], getbufline(b, 4)) |