From b602fe74b075b5e3c4f095d907bed9abc98462f3 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Tue, 22 Dec 2020 18:11:59 -0500 Subject: vim-patch:8.2.2189: cannot repeat a command that uses the small delete register Problem: Cannot repeat a command that uses the small delete register. Solution: Store the register name instead of the contents. (Christian Brabandt, closes vim/vim#7527) https://github.com/vim/vim/commit/032a2d050b82b146d70d6ff714838ee62c07d8ad N/A patches for version.c: vim-patch:8.2.2192: Codecov on github actions fails Problem: Codecov on github actions fails. Solution: Revert to codecov script. (Ozaki Kiichi, closes vim/vim#7529) https://github.com/vim/vim/commit/e5492609b3a153c631f1d600ecdef1af1c913bef --- src/nvim/testdir/test_registers.vim | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/nvim/testdir') diff --git a/src/nvim/testdir/test_registers.vim b/src/nvim/testdir/test_registers.vim index 19a7c6c9d0..24e02cb385 100644 --- a/src/nvim/testdir/test_registers.vim +++ b/src/nvim/testdir/test_registers.vim @@ -254,4 +254,15 @@ func Test_ve_blockpaste() bwipe! endfunc +func Test_insert_small_delete() + new + call setline(1, ['foo foobar bar']) + call cursor(1,1) + exe ":norm! ciw'\-'" + call assert_equal(getline(1), "'foo' foobar bar") + exe ":norm! w.w." + call assert_equal(getline(1), "'foo' 'foobar' 'bar'") + bwipe! +endfunc + " vim: shiftwidth=2 sts=2 expandtab -- cgit