diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-16 14:51:53 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-16 14:51:53 +0100 |
commit | e98c88c44c308edaea5994b8ad4363e65030968c (patch) | |
tree | ee95f55436a1d8c2cd18a8f932adc7ac14a6b409 /src/testdir/test_cmdwin.vim | |
parent | e1f3fd1d02e3f5fe6d2b6d82687c6846b8e500f8 (diff) |
patch 9.0.0218: reading before the start of the linev9.0.0218
Problem: Reading before the start of the line.
Solution: When displaying "$" check the column is not negative.
Diffstat (limited to 'src/testdir/test_cmdwin.vim')
-rw-r--r-- | src/testdir/test_cmdwin.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/test_cmdwin.vim b/src/testdir/test_cmdwin.vim index d641b29230..8cfb248f74 100644 --- a/src/testdir/test_cmdwin.vim +++ b/src/testdir/test_cmdwin.vim @@ -365,5 +365,13 @@ func Test_cant_open_cmdwin_in_cmdwin() call assert_match('E1292:', caught) endfunc +func Test_cmdwin_virtual_edit() + enew! + set ve=all cpo+=$ + silent normal q/s + + set ve= cpo-=$ +endfunc + " vim: shiftwidth=2 sts=2 expandtab |