diff options
| author | Erdiansyah <erdivartanovich@gmail.com> | 2026-08-08 00:09:22 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-07 12:09:22 -0400 |
| commit | 59597316a60b11e0cde262a9b55b3e326a754e29 (patch) | |
| tree | a071141fc48674278e5f83c3245b06e494fdd5f6 /runtime/plugin/python_setup.vim | |
| parent | fe3aa649456472f21921727a99d31761ca333594 (diff) | |
| download | rneovim-59597316a60b11e0cde262a9b55b3e326a754e29.tar.gz rneovim-59597316a60b11e0cde262a9b55b3e326a754e29.tar.bz2 rneovim-59597316a60b11e0cde262a9b55b3e326a754e29.zip | |
fix(cwd): :bcd lost by nvim_win_set_buf, nvim_open_win #41218
Problem:
:bcd (buffer-local directory) is not preserved after
`nvim_open_win` or `nvim_win_set_buf`
Analysis:
set_curbuf() ends with update_cwd(), which falls back to
os_chdir(globaldir) when the target buffer has no b_localdir.
Solution:
Pass kCtxKeepCwd to ctx_switch().
Diffstat (limited to 'runtime/plugin/python_setup.vim')
0 files changed, 0 insertions, 0 deletions