diff options
| author | James McCoy <jamessan@jamessan.com> | 2022-01-13 21:43:58 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-13 21:43:58 -0500 |
| commit | a88046fe2d0710d1d1132ea544e9dbbbac1af7de (patch) | |
| tree | 2cf2f5bb7ba1e498f91f1eeb13c3ada821d97776 /src/nvim/testdir/test_visual.vim | |
| parent | 9b04336445c85b5bc4920d18072066e8ad01d6af (diff) | |
| parent | e1b557d9130c94f72c2d836bf814a884c470809f (diff) | |
| download | rneovim-a88046fe2d0710d1d1132ea544e9dbbbac1af7de.tar.gz rneovim-a88046fe2d0710d1d1132ea544e9dbbbac1af7de.tar.bz2 rneovim-a88046fe2d0710d1d1132ea544e9dbbbac1af7de.zip | |
Merge pull request #17086 from zeertzjq/vim-8.1.2375
vim-patch:8.1.2375: no suffucient testing for registers
Diffstat (limited to 'src/nvim/testdir/test_visual.vim')
| -rw-r--r-- | src/nvim/testdir/test_visual.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_visual.vim b/src/nvim/testdir/test_visual.vim index 8344598486..d58ca92a2f 100644 --- a/src/nvim/testdir/test_visual.vim +++ b/src/nvim/testdir/test_visual.vim @@ -433,6 +433,19 @@ func Test_Visual_Block() close! endfunc +" Test for 'p'ut in visual block mode +func Test_visual_block_put() + enew + + call append(0, ['One', 'Two', 'Three']) + normal gg + yank + call feedkeys("jl\<C-V>ljp", 'xt') + call assert_equal(['One', 'T', 'Tee', 'One', ''], getline(1, '$')) + + enew! +endfunc + func Test_visual_put_in_block() new call setline(1, ['xxxx', 'y∞yy', 'zzzz']) |