Erdiansyah
59597316a6
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().
2026-08-07 12:09:22 -04:00
..
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-08-07 12:09:22 -04:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-22 07:26:09 -04:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-08-04 20:48:05 +02:00
2026-07-21 13:22:39 +02:00
2026-07-27 11:12:47 -04:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-08-04 06:36:58 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00
2026-07-21 13:22:39 +02:00