diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-24 21:46:06 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-08-25 06:53:59 +0800 |
commit | dd77a0062108d6ecfc00bbc50b0d6d738df0b89d (patch) | |
tree | f18f68e8323ffa68148ccd160071fc853cfc45c4 /src/nvim/testdir | |
parent | 6680002169a8cc505186e81acc161bec40658d73 (diff) | |
download | rneovim-dd77a0062108d6ecfc00bbc50b0d6d738df0b89d.tar.gz rneovim-dd77a0062108d6ecfc00bbc50b0d6d738df0b89d.tar.bz2 rneovim-dd77a0062108d6ecfc00bbc50b0d6d738df0b89d.zip |
vim-patch:9.0.0102: reading past end of line with insert mode completion
Problem: Reading past end of line with insert mode completion.
Solution: Check text length.
https://github.com/vim/vim/commit/a6f9e300161f4cb54713da22f65b261595e8e614
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r-- | src/nvim/testdir/test_ins_complete.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_ins_complete.vim b/src/nvim/testdir/test_ins_complete.vim index 9aa3881724..8f7d2cb278 100644 --- a/src/nvim/testdir/test_ins_complete.vim +++ b/src/nvim/testdir/test_ins_complete.vim @@ -986,5 +986,13 @@ func Test_ins_complete_add() bwipe! endfunc +func Test_ins_complete_end_of_line() + " this was reading past the end of the line + new + norm 8oý + sil! norm o + + bwipe! +endfunc " vim: shiftwidth=2 sts=2 expandtab |