diff options
| author | luukvbaal <luukvbaal@gmail.com> | 2025-07-11 18:53:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-11 16:53:30 +0000 |
| commit | 7f5b5d34cfeb9428b9a213cb75646f1a82f3c60f (patch) | |
| tree | b9acf11f9bfd23a38db419c0603b38d5214ecdf9 /runtime/lua/vim/_editor.lua | |
| parent | 9e968635efc47eef09588847914190b4b64f008c (diff) | |
fix(window): don't store invalid height in window config (#34885)
Problem: When 'winminheight' is zero and the window height is set to
zero, the actual height is clamped whereas the stored config
value is not. Reciprocal window configuration through
nvim_win_get_config() then results in an error.
Solution: Also clamp the stored dimensions in the window config.
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
0 files changed, 0 insertions, 0 deletions
