diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-07-12 17:02:46 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-12 17:02:46 +0800 |
| commit | d8360e90333186ebb3a205a1ae64c1cbb531f0b9 (patch) | |
| tree | eff7937a6f68e013a131891dfd3ebeeb121c4ee1 /src/nvim/testdir/test_window_cmd.vim | |
| parent | 0f1b17788eb584f41d59c12c968f5e1886655334 (diff) | |
| parent | aa373e3abb17a5265b1afa8c119207980e90001a (diff) | |
| download | rneovim-d8360e90333186ebb3a205a1ae64c1cbb531f0b9.tar.gz rneovim-d8360e90333186ebb3a205a1ae64c1cbb531f0b9.tar.bz2 rneovim-d8360e90333186ebb3a205a1ae64c1cbb531f0b9.zip | |
Merge pull request #19334 from zeertzjq/vim-8.2.0275
vim-patch:8.2.{0275,0293,5050}
Diffstat (limited to 'src/nvim/testdir/test_window_cmd.vim')
| -rw-r--r-- | src/nvim/testdir/test_window_cmd.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_window_cmd.vim b/src/nvim/testdir/test_window_cmd.vim index 731b76c838..b7df750488 100644 --- a/src/nvim/testdir/test_window_cmd.vim +++ b/src/nvim/testdir/test_window_cmd.vim @@ -919,6 +919,14 @@ func Test_winpos_errors() call assert_fails('winpos 10', 'E466:') endfunc +" Test for +cmd in a :split command +func Test_split_cmd() + split +set\ readonly + call assert_equal(1, &readonly) + call assert_equal(2, winnr('$')) + close +endfunc + func Test_window_resize() throw 'Skipped: Nvim supports cmdheight=0' " Vertical :resize (absolute, relative, min and max size). |