mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 02:21:51 +00:00
vim-patch:9.0.0670: no space for command line when there is a tabline
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)
c9f5f73206
(cherry picked from commit 31996f7748)
This commit is contained in:
committed by
github-actions[bot]
parent
947ec159ae
commit
9857cc1dbf
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user