Mercurial > vim
diff src/testdir/test_cmdwin.vim @ 29757:beab53bb989e v9.0.0218
patch 9.0.0218: reading before the start of the line
Commit: https://github.com/vim/vim/commit/e98c88c44c308edaea5994b8ad4363e65030968c
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 16 14:51:53 2022 +0100
patch 9.0.0218: reading before the start of the line
Problem: Reading before the start of the line.
Solution: When displaying "$" check the column is not negative.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 16 Aug 2022 16:00:05 +0200 |
parents | 44bb4a607125 |
children | 8629106c4982 |
line wrap: on
line diff
--- 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