aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/python.vim
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2025-09-09 09:30:20 +0800
committerGitHub <noreply@github.com>2025-09-08 18:30:20 -0700
commitc553008e74e5521f190ffc41db981d5649910536 (patch)
tree85050b9ca62f282fddcd2294e674df2c7c2a487a /runtime/syntax/python.vim
parentc951fa9eeb599fff2f5542b026c1eadff7d7e042 (diff)
downloadrneovim-c553008e74e5521f190ffc41db981d5649910536.tar.gz
rneovim-c553008e74e5521f190ffc41db981d5649910536.tar.bz2
rneovim-c553008e74e5521f190ffc41db981d5649910536.zip
fix(api): crash when moving curwin to other tabpage #35679
Problem: nvim_win_set_config may crash when attempting to move curwin to a different tabpage if there is no other non-float available to switch to. Solution: fix the crash. Fix ONE_WINDOW checks in winframe_find_altwin and win_altframe to consider floating windows by instead using one_window. Allow one_window to consider non-current tabpages. We can use one_window in win_close_othertab now to also better reflect its use in win_close. Co-authored-by: Sean Dewar <6256228+seandewar@users.noreply.github.com>
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions