diff options
| author | glepnir <glephunter@gmail.com> | 2026-04-23 01:05:41 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-22 13:05:41 -0400 |
| commit | 496374e9513a5cbd0fd37fbd95d07d6306fa432d (patch) | |
| tree | 7797e22233c4b06c49b84dbfc23758d692420c43 /src/nvim/lua/executor.c | |
| parent | 558204d87bd4ff3a7be347e4c765c4b9b8f28c52 (diff) | |
fix(shada): bdelete'd buffers not stored in oldfiles #39070
Problem:
b98eefd added `!b_p_bl` to `ignore_buf()`, which also
skips bdelete'd buffers since bdelete unsets `b_p_bl`.
Solution:
Check `b_p_initialized` together with `b_p_bl` so that
bdelete'd buffers (which have b_p_initialized=false) are not
filtered out. Keep `b_p_bl` check only in `shada_get_buflist()`.
Diffstat (limited to 'src/nvim/lua/executor.c')
0 files changed, 0 insertions, 0 deletions
