aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_stringbuffer.lua
diff options
context:
space:
mode:
authorluukvbaal <luukvbaal@gmail.com>2026-05-14 22:04:58 +0200
committerGitHub <noreply@github.com>2026-05-14 16:04:58 -0400
commit70c328929060c930d894786bdcf5bd782ca4cf16 (patch)
tree09f63f72edb7c21d24917d318879fb2033afd425 /runtime/lua/vim/_stringbuffer.lua
parent6bb3e1b239e4decd75475d386c1f4e6989eeb898 (diff)
downloadrneovim-70c328929060c930d894786bdcf5bd782ca4cf16.tar.gz
rneovim-70c328929060c930d894786bdcf5bd782ca4cf16.tar.bz2
rneovim-70c328929060c930d894786bdcf5bd782ca4cf16.zip
fix(ui2): unable to configure window height of absolute 1 #39781
Problem: - Configuring the height of one of the message targets to 1 is recognized as 100% of 'lines'. - Cmdline is expanded for message exceeding 'cmdheight' even if the configured height is smaller than or equal to 'cmdheight'. Solution: - Recognize a height of 1 as absolute; a decimal number smaller than 1 is taken as a fraction of 'lines' (replace 1 with 0.999 for the old behavior). - Don't expand the cmdline if the configured height doesn't allow it.
Diffstat (limited to 'runtime/lua/vim/_stringbuffer.lua')
0 files changed, 0 insertions, 0 deletions