refactor: formatting fixes, config cleanup, health simplification

Problem: Formatter disagreements in `init.lua` and `gtasks.lua`,
stale `calendar` field in gcal config, and redundant health checks
for data directory existence.

Solution: Apply stylua formatting, remove `calendar` field from
`pending.GcalConfig`, drop data-dir and no-file health messages,
add `done`/`pending` to filter tab-completion candidates.
This commit is contained in:
Barrett Ruth 2026-03-05 11:24:36 -05:00
parent 765d7fa0b5
commit 9a762a5320
5 changed files with 4 additions and 19 deletions

View file

@ -181,7 +181,7 @@ end, {
for word in after_filter:gmatch('%S+') do
used[word] = true
end
local candidates = { 'clear', 'overdue', 'today', 'priority' }
local candidates = { 'clear', 'overdue', 'today', 'priority', 'done', 'pending' }
local store = require('pending.store')
local s = store.new(store.resolve_path())
s:load()