aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorSean Dewar <6256228+seandewar@users.noreply.github.com>2026-03-07 12:12:02 +0000
committerSean Dewar <6256228+seandewar@users.noreply.github.com>2026-03-08 19:41:33 +0000
commit137d5ab01dfaa65ee69384bf4890983540aa3b6b (patch)
tree2dcc2e0f0da02d7f050c7106d2ae016f4890df7e /runtime/lua/vim
parent65a1709112a2723eaafe4bda2c3743c593a006b1 (diff)
downloadrneovim-137d5ab01dfaa65ee69384bf4890983540aa3b6b.tar.gz
rneovim-137d5ab01dfaa65ee69384bf4890983540aa3b6b.tar.bz2
rneovim-137d5ab01dfaa65ee69384bf4890983540aa3b6b.zip
fix(api): merge split window config only on success
Problem: nvim_win_set_config may merge configs despite failing to configure a split, and without applying necessary side-effects (like setting style=minimal options). Plus, autocommands may apply a different config after the merge, causing side-effects to apply for an outdated config. Solution: merge configs last, only on success. Include fields only relevant to splits. Properly set _cmdline_offset for splits. Maybe better to disallow _cmdline_offset for splits instead, as the pum is relative to cmdline_row anyway? (I didn't want to change behaviour too much) Also use expect_unchanged in an unrelated test to quash a warning.
Diffstat (limited to 'runtime/lua/vim')
0 files changed, 0 insertions, 0 deletions