pending.nvim/lua/pending
Barrett Ruth 87679e9857 fix(diff): preserve due/rec when absent from buffer line
Problem: `diff.apply` overwrites `task.due` and `task.recur` with `nil`
whenever those fields aren't present as inline tokens in the buffer line.
Because metadata is rendered as virtual text (never in the line text),
every description edit silently clears due dates and recurrence rules.

Solution: Only update `due`, `recur`, and `recur_mode` in the existing-
task branch when the parsed entry actually contains them (non-nil). Users
can still set/change these inline by typing `due:<date>` or `rec:<rule>`;
clearing them requires `:Pending edit <id> -due`.
2026-03-05 12:18:57 -05:00
..
sync fix(types): correct LuaLS annotations in oauth and gcal 2026-03-05 11:28:29 -05:00
buffer.lua refactor(icons): ascii defaults, checkbox overlays, and cleanup (#57) 2026-03-04 18:44:41 -05:00
complete.lua refactor: remove file token feature (#50) 2026-02-26 22:41:38 -05:00
config.lua refactor: formatting fixes, config cleanup, health simplification 2026-03-05 11:24:36 -05:00
diff.lua fix(diff): preserve due/rec when absent from buffer line 2026-03-05 12:18:57 -05:00
health.lua refactor: formatting fixes, config cleanup, health simplification 2026-03-05 11:24:36 -05:00
init.lua refactor: formatting fixes, config cleanup, health simplification 2026-03-05 11:24:36 -05:00
parse.lua refactor: remove file token feature (#50) 2026-02-26 22:41:38 -05:00
recur.lua feat: time-aware due dates, persistent undo, @return audit (#33) 2026-02-25 20:37:50 -05:00
store.lua refactor: organize tests and dry (#49) 2026-02-26 20:03:42 -05:00
textobj.lua feat: text objects and motions for the pending buffer (#39) 2026-02-26 16:28:58 -05:00
views.lua refactor(icons): ascii defaults, checkbox overlays, and cleanup (#57) 2026-03-04 18:44:41 -05:00