pending.nvim/lua/pending
Barrett Ruth 27190fd26c refactor(sync): extract shared utilities into sync/util.lua
Problem: sync epilogue code (`s:save()`, `_recompute_counts()`,
`buffer.render()`) and `fmt_counts` were duplicated across `gcal.lua`
and `gtasks.lua`. The concurrency guard lived in `oauth.lua`, coupling
non-OAuth backends to the OAuth module.

Solution: create `sync/util.lua` with `async`, `system`, `with_guard`,
`finish`, and `fmt_counts`. Delegate from `oauth.lua` and replace
duplicated code in both backends. Add per-backend `auth()` and
`auth_complete()` methods to `gcal.lua` and `gtasks.lua`.
2026-03-08 19:50:04 -04:00
..
sync refactor(sync): extract shared utilities into sync/util.lua 2026-03-08 19:50:04 -04:00
buffer.lua feat: complete task editing coverage (#109) 2026-03-08 19:44:03 -04:00
complete.lua refactor(types): extract inline anonymous types into named classes 2026-03-08 19:47:18 -04:00
config.lua feat: complete task editing coverage (#109) 2026-03-08 19:44:03 -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: complete task editing coverage (#109) 2026-03-08 19:44:03 -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 refactor(types): extract inline anonymous types into named classes 2026-03-08 19:47:18 -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 2026-03-08 19:47:18 -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: complete task editing coverage (#109) 2026-03-08 19:44:03 -04:00