aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/pack.lua
diff options
context:
space:
mode:
authorGuilherme Batalheiro <57897031+guilherme-batalheiro@users.noreply.github.com>2026-05-16 18:53:34 +0100
committerGitHub <noreply@github.com>2026-05-16 13:53:34 -0400
commit0b96b3cd52b48d981f9402f7669d3a653eddbcd3 (patch)
treee7aec21175e61555094c8f542185779fcfb06122 /runtime/lua/vim/pack.lua
parent54f22a8f01c0feb27a531b52aedf5cdbd5e51b24 (diff)
downloadrneovim-0b96b3cd52b48d981f9402f7669d3a653eddbcd3.tar.gz
rneovim-0b96b3cd52b48d981f9402f7669d3a653eddbcd3.tar.bz2
rneovim-0b96b3cd52b48d981f9402f7669d3a653eddbcd3.zip
fix(shada): set correct buffer number for local marks on read #39712
Problem: After closing and reopening Neovim, ]' and [' fail with E92: Buffer 0 not found for marks restored from ShaDa. Direct jumps like 'a work because mark_get_local() rewrites fnum before returning, but ]' uses getnextmark() which does not, leaving fnum = 0. Solution: Set .fnum = buf->b_fnum when restoring local marks from ShaDa.
Diffstat (limited to 'runtime/lua/vim/pack.lua')
0 files changed, 0 insertions, 0 deletions