diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-11-04 21:49:43 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-04 21:49:43 +0800 |
| commit | 234b8c5f3d57294dda06dbc6c1760e5983bd2c19 (patch) | |
| tree | 30ee4255289a1c3be9a7a80ab06242ec91908406 /src/nvim/testdir/test_visual.vim | |
| parent | 0aba1761714661b8576d4676c61c319e76bfac1b (diff) | |
| parent | 2aafaa59928e17fd7858a89d203e2b2a07707601 (diff) | |
| download | rneovim-234b8c5f3d57294dda06dbc6c1760e5983bd2c19.tar.gz rneovim-234b8c5f3d57294dda06dbc6c1760e5983bd2c19.tar.bz2 rneovim-234b8c5f3d57294dda06dbc6c1760e5983bd2c19.zip | |
Merge pull request #20934 from zeertzjq/vim-8.2.0968
vim-patch:8.2.{0968,0976,1022,1810,2901}: various tests
Diffstat (limited to 'src/nvim/testdir/test_visual.vim')
| -rw-r--r-- | src/nvim/testdir/test_visual.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_visual.vim b/src/nvim/testdir/test_visual.vim index a9c057088d..712ea343ed 100644 --- a/src/nvim/testdir/test_visual.vim +++ b/src/nvim/testdir/test_visual.vim @@ -225,6 +225,15 @@ func Test_virtual_replace() exe "normal iabcdefghijklmnopqrst\<Esc>0gRAB\tIJKLMNO\tQR" call assert_equal(['AB......CDEFGHI.Jkl', \ 'AB IJKLMNO QRst'], getline(12, 13)) + + " Test inserting Tab with 'noexpandtab' and 'softabstop' set to 4 + %d + call setline(1, 'aaaaaaaaaaaaa') + set softtabstop=4 + exe "normal gggR\<Tab>\<Tab>x" + call assert_equal("\txaaaa", getline(1)) + set softtabstop& + enew! set noai bs&vim if exists('save_t_kD') |