diff options
| author | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2025-10-08 17:22:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-08 16:22:29 +0000 |
| commit | d7472c061759aa56c43c36bdb5ce463e3ee8521d (patch) | |
| tree | cb293b09ae4b34533feff3cbaaa12da4e8a73805 /test/functional/vimscript/executable_spec.lua | |
| parent | c881bc537eac722c0c61aba3fe15f3f4c9e3c138 (diff) | |
| download | rneovim-d7472c061759aa56c43c36bdb5ce463e3ee8521d.tar.gz rneovim-d7472c061759aa56c43c36bdb5ce463e3ee8521d.tar.bz2 rneovim-d7472c061759aa56c43c36bdb5ce463e3ee8521d.zip | |
fix(api): nvim_open_win default to half-size for splits (#36088)
Problem: after #35601, nvim_open_win incorrectly attempts to set the size of a
split window to 0 if it wasn't specified.
Solution: only attempt to set the size again if it was actually specified. This has the effect of defaulting to half the size of the parent window (or it may be equalized with other windows to make room), like before.
Fix #36080
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions