diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-05-24 11:43:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-24 11:43:51 +0200 |
| commit | d51f132cb150a5adeac9e40ec7409040f32d880e (patch) | |
| tree | b9f177db85f96cb79a89706b0448b7add23d1e66 /src/nvim/testdir/test_put.vim | |
| parent | 66d127957ed3cc27af0344c742bc5acedd347894 (diff) | |
| parent | f1464d0d8023d409906c1a0d2c59e88623bef2e5 (diff) | |
| download | rneovim-d51f132cb150a5adeac9e40ec7409040f32d880e.tar.gz rneovim-d51f132cb150a5adeac9e40ec7409040f32d880e.tar.bz2 rneovim-d51f132cb150a5adeac9e40ec7409040f32d880e.zip | |
Merge #10054 from janlazo/vim-8.1.1373
vim-patch:8.0.{1208,1220},8.1.{1171,1373}
Diffstat (limited to 'src/nvim/testdir/test_put.vim')
| -rw-r--r-- | src/nvim/testdir/test_put.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_put.vim b/src/nvim/testdir/test_put.vim index 43a5d18cb3..d8a231c52e 100644 --- a/src/nvim/testdir/test_put.vim +++ b/src/nvim/testdir/test_put.vim @@ -104,3 +104,15 @@ func Test_put_p_errmsg_nodup() delfunction Capture_p_error bwipeout! endfunc + +func Test_put_p_indent_visual() + new + call setline(1, ['select this text', 'select that text']) + " yank "that" from the second line + normal 2Gwvey + " select "this" in the first line and put + normal k0wve[p + call assert_equal('select that text', getline(1)) + call assert_equal('select that text', getline(2)) + bwipe! +endfunc |