diff options
author | luukvbaal <luukvbaal@gmail.com> | 2025-03-27 12:52:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-27 12:52:46 +0100 |
commit | 703f4037c475ee504b71d393e152fb1ae44c7bb9 (patch) | |
tree | 6406ea605954cc7a92e1e6c5887143ebc2cdb46d /test | |
parent | ce0c0c31a08975dd2e34207afb1a2cd544775bad (diff) | |
download | rneovim-703f4037c475ee504b71d393e152fb1ae44c7bb9.tar.gz rneovim-703f4037c475ee504b71d393e152fb1ae44c7bb9.tar.bz2 rneovim-703f4037c475ee504b71d393e152fb1ae44c7bb9.zip |
fix(ui): wincmd _ should not increase 'cmdheight' above 0 (#33056)
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/ui/cmdline_spec.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/ui/cmdline_spec.lua b/test/functional/ui/cmdline_spec.lua index cb9d978a0f..99af9f9f73 100644 --- a/test/functional/ui/cmdline_spec.lua +++ b/test/functional/ui/cmdline_spec.lua @@ -1352,6 +1352,12 @@ describe('cmdline height', function() -- cmdheight unchanged. eq(1, eval('&cmdheight')) end) + + it('not increased to 0 from 1 with wincmd _', function() + command('set cmdheight=0 laststatus=0') + command('wincmd _') + eq(0, eval('&cmdheight')) + end) end) describe('cmdheight=0', function() |