pending.nvim/lua/pending
Barrett Ruth 7f0bd43b34 feat(buffer): preserve category fold state across re-renders
Problem: pressing :w, toggling priority, or any other operation that
calls buffer.render() reset foldlevel = 99, causing all manually
collapsed category sections to snap back open.

Solution: snapshot which categories are folded (per window) before
nvim_buf_set_lines destroys the fold tree, then restore them after
fold options are re-applied by calling normal! zc on each previously
closed header line. State persists across all render call sites
within a session.
2026-02-24 22:32:14 -05:00
..
sync fix: resolve remaining LuaLS type errors 2026-02-24 18:50:28 -05:00
buffer.lua feat(buffer): preserve category fold state across re-renders 2026-02-24 22:32:14 -05:00
config.lua feat: overdue highlighting, relative dates, undo write, buffer mappings (#1) 2026-02-24 18:33:07 -05:00
diff.lua feat(init): multi-level priority with <C-a>/<C-x> 2026-02-24 22:20:18 -05:00
health.lua fix(health): remove superfluous config info lines 2026-02-24 18:56:12 -05:00
init.lua feat(init): multi-level priority with <C-a>/<C-x> 2026-02-24 22:20:18 -05:00
parse.lua fix: resolve remaining LuaLS type errors 2026-02-24 18:50:28 -05:00
store.lua feat(store): add snapshot() and atomic json write 2026-02-24 18:44:13 -05:00
views.lua feat(init): multi-level priority with <C-a>/<C-x> 2026-02-24 22:20:18 -05:00