pending.nvim/lua
Barrett Ruth 133369b968 fix(buffer): keep _meta in sync when open_line inserts a new line
Problem: `open_line` inserted a buffer line without updating `_meta`,
leaving the entry at that row pointing to the task that was shifted
down. Pressing `<CR>` (toggle_complete) would read the stale meta,
find a real task ID, toggle it, and re-render — destroying the unsaved
new line.

Solution: Insert a `{ type = 'blank' }` sentinel into `_meta` at the
new line's position so buffer-local actions see no task there.
2026-03-06 11:40:11 -05:00
..
pending fix(buffer): keep _meta in sync when open_line inserts a new line 2026-03-06 11:40:11 -05:00