diff options
author | Patrick McFarland <pmcfarland@adterrasperaspera.com> | 2023-03-14 13:21:53 -0400 |
---|---|---|
committer | Patrick McFarland <pmcfarland@adterrasperaspera.com> | 2023-03-19 08:15:04 -0400 |
commit | 3b28fb4cd9e1ef877968b4ffabf4d6b1cb17aa07 (patch) | |
tree | cb43f480bc2eb3b855f5a3210495985b133b73be /test/functional/vimscript/system_spec.lua | |
parent | eeac80de0cf45951dd696f82e5a823c6de20728c (diff) | |
download | rneovim-3b28fb4cd9e1ef877968b4ffabf4d6b1cb17aa07.tar.gz rneovim-3b28fb4cd9e1ef877968b4ffabf4d6b1cb17aa07.tar.bz2 rneovim-3b28fb4cd9e1ef877968b4ffabf4d6b1cb17aa07.zip |
fix(float): remove -1 in height clamp
Problem: Clamp for height in floating windows enforced no more than
editor height - 1, disallowing full editor height floating windows when
using cmdheight=0
Solution: Clamp to full height, removing the -1. Tested to give the
intended results with cmdheight=0, 1, or more than 1. This also
inadvertently fixes a rendering error with cmdheight >1 where the
bottom border would be overlapped by the cmdline.
Diffstat (limited to 'test/functional/vimscript/system_spec.lua')
0 files changed, 0 insertions, 0 deletions