diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-10-06 20:03:59 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-06 20:03:59 +0800 |
| commit | 25dea99ce54de6a8c4369e28e0db82e1af669f24 (patch) | |
| tree | 0b459d5b835bafb8f8d615deca779734eaa028d0 /src/nvim/testdir | |
| parent | 2c08ab5369c79afd9138c38164e2d2c157ce8435 (diff) | |
| download | rneovim-25dea99ce54de6a8c4369e28e0db82e1af669f24.tar.gz rneovim-25dea99ce54de6a8c4369e28e0db82e1af669f24.tar.bz2 rneovim-25dea99ce54de6a8c4369e28e0db82e1af669f24.zip | |
vim-patch:9.0.0670: no space for command line when there is a tabline (#20512)
Problem: No space for command line when there is a tabline.
Solution: Correct computation of where the command line should be.
(closes vim/vim#11295)
https://github.com/vim/vim/commit/c9f5f73206272ccad0aa536854debc5f9781978a
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_cmdline.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim index b177a9cc9e..3f8e141afa 100644 --- a/src/nvim/testdir/test_cmdline.vim +++ b/src/nvim/testdir/test_cmdline.vim @@ -225,6 +225,16 @@ func Test_changing_cmdheight() call StopVimInTerminal(buf) endfunc +func Test_cmdheight_tabline() + CheckScreendump + + let buf = RunVimInTerminal('-c "set ls=2" -c "set stal=2" -c "set cmdheight=1"', {'rows': 6}) + call VerifyScreenDump(buf, 'Test_cmdheight_tabline_1', {}) + + " clean up + call StopVimInTerminal(buf) +endfunc + func Test_map_completion() if !has('cmdline_compl') return |