pending.nvim/lua/pending
Barrett Ruth 1258674a1e fix(buffer): infer task status from line text in reapply_dirty_inline
Problem: `on_bytes` inserts bare `{ type = 'task' }` meta entries with
no `status` field for any new lines (paste, undo, native edits). When
meta positions also shift incorrectly (e.g. `P` paste above), existing
meta with the wrong status ends up on the wrong row. This causes done
tasks to lose their `PendingDone` highlight and pending tasks to appear
greyed out.

Solution: always re-infer `status` from the actual buffer line text for
dirty task rows before applying extmarks. The checkbox character (`[x]`,
`[>]`, `[=]`, `[ ]`) is the source of truth, with fallback to the
existing meta status if the line doesn't match a task pattern.
2026-03-09 00:17:14 -04:00
..
sync fix(sync): normalize log prefixes and S3 prompt UX (#115) 2026-03-08 20:56:22 -04:00
buffer.lua fix(buffer): infer task status from line text in reapply_dirty_inline 2026-03-09 00:17:14 -04:00
complete.lua refactor(types): extract inline anonymous types into named classes (#110) 2026-03-08 19:49:49 -04:00
config.lua fix(config): update default keymaps to match vimdoc 2026-03-09 00:08:40 -04:00
diff.lua feat: complete task editing coverage (#109) 2026-03-08 19:44:03 -04:00
health.lua fix(diff): preserve due/rec when absent from buffer line (#68) 2026-03-05 12:46:54 -05:00
init.lua feat: add <C-a> / <C-x> keymaps for priority increment/decrement (#114) 2026-03-08 20:49:05 -04:00
log.lua fix(diff): preserve due/rec when absent from buffer line (#68) 2026-03-05 12:46:54 -05:00
parse.lua feat: add <C-a> / <C-x> keymaps for priority increment/decrement (#114) 2026-03-08 20:49:05 -04:00
recur.lua feat: time-aware due dates, persistent undo, @return audit (#33) 2026-02-25 20:37:50 -05:00
store.lua refactor(types): extract inline anonymous types into named classes (#110) 2026-03-08 19:49:49 -04:00
textobj.lua fix(diff): preserve due/rec when absent from buffer line (#68) 2026-03-05 12:46:54 -05:00
views.lua feat: auth backend (#111) 2026-03-08 19:53:42 -04:00