feat(gtasks): add Google Tasks bidirectional sync

Problem: pending.nvim only supported one-way push to Google Calendar.
Users who use Google Tasks had no way to sync tasks bidirectionally.

Solution: add `lua/pending/sync/gtasks.lua` backend with OAuth PKCE
auth, push/pull/sync actions, and field mapping between pending tasks
and Google Tasks (category↔tasklist, `priority`/`recur` via notes).
This commit is contained in:
Barrett Ruth 2026-03-05 00:58:52 -05:00
parent 3e8fd0a6a3
commit 27647d0575
3 changed files with 952 additions and 0 deletions

View file

@ -10,8 +10,12 @@
---@field calendar? string
---@field credentials_path? string
---@class pending.GtasksConfig
---@field credentials_path? string
---@class pending.SyncConfig
---@field gcal? pending.GcalConfig
---@field gtasks? pending.GtasksConfig
---@class pending.Keymaps
---@field close? string|false