pending.nvim/lua/pending
Barrett Ruth 79343cac2e fix(parse): skip forge refs in right-to-left metadata scan (#142)
Problem: `parse.body()` scans tokens right-to-left and breaks on the
first non-metadata token. Forge refs like `gl:a/b#12` halted the scan,
preventing metadata tokens to their left (e.g. `due:tomorrow`) from
being parsed. Additionally, `diff.parse_buffer()` ignored
`metadata.priority` from `+!!` tokens and only used checkbox-derived
priority, and priority updates between two non-zero values were silently
skipped.

Solution: Recognize forge ref tokens via `forge.parse_ref()` during the
right-to-left scan and skip past them, re-appending them to the
description so `forge.find_refs()` still works. Prefer
`metadata.priority` over checkbox priority in `parse_buffer()`, and
simplify the priority update condition to catch all value changes.
2026-03-11 13:02:55 -04:00
..
sync refactor: tighten LuaCATS annotations and canonicalize metadata fields (#141) 2026-03-11 12:55:36 -04:00
buffer.lua fix(forge): fix ghost extmarks, false auth warnings, and needless API calls (#136) 2026-03-10 23:28:52 -04:00
complete.lua refactor: tighten LuaCATS annotations and canonicalize metadata fields (#141) 2026-03-11 12:55:36 -04:00
config.lua refactor: tighten LuaCATS annotations and canonicalize metadata fields (#141) 2026-03-11 12:55:36 -04:00
diff.lua fix(parse): skip forge refs in right-to-left metadata scan (#142) 2026-03-11 13:02:55 -04:00
forge.lua refactor: tighten LuaCATS annotations and canonicalize metadata fields (#141) 2026-03-11 12:55:36 -04:00
health.lua refactor(forge): simplify auth gating (#139) 2026-03-11 12:28:22 -04:00
init.lua refactor: tighten LuaCATS annotations and canonicalize metadata fields (#141) 2026-03-11 12:55:36 -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 fix(parse): skip forge refs in right-to-left metadata scan (#142) 2026-03-11 13:02:55 -04:00
recur.lua refactor: tighten LuaCATS annotations and canonicalize metadata fields (#141) 2026-03-11 12:55:36 -04:00
store.lua refactor: tighten LuaCATS annotations and canonicalize metadata fields (#141) 2026-03-11 12:55:36 -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 refactor: tighten LuaCATS annotations and canonicalize metadata fields (#141) 2026-03-11 12:55:36 -04:00