pending.nvim/lua
Barrett Ruth ed0b72feee fix(parse): position-independent inline metadata parsing
Problem: `parse.body()` scanned tokens right-to-left and broke on the
first non-metadata token, so metadata only worked at the trailing end
of a line. `due:tomorrow Fix the bug` silently failed to parse the
due date.

Solution: Replace the right-to-left `while` loop with a single
left-to-right pass that extracts metadata tokens from any position.
Duplicate metadata tokens are dropped with a `log.warn`. Update docs
and tests accordingly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 20:45:44 -04:00
..
pending fix(parse): position-independent inline metadata parsing 2026-03-13 20:45:44 -04:00