Find the comment before reading its snippet #20

Merged
eleith merged 1 commits from refactor/resolve-comment-before-reading-snippet into main 2026-11-30 23:53:10 +00:00

Summary

  • Find an exact match from positions in the current buffer, or resolve the selected quickfix comment by ID. Read only the selected card’s live snippet.
  • Use positions alone for card numbering and preserve existing match order. Full list and export rendering still read live snippets.

Validation

  • make check — 232 tests passed.
  • The new regression reduced six snippet reads to one and verifies live card context and numbering.
  • Readability, code, and test reviews completed. Verified the follow-up preserving order for coincident anchors headlessly.
## Summary - Find an exact match from positions in the current buffer, or resolve the selected quickfix comment by ID. Read only the selected card’s live snippet. - Use positions alone for card numbering and preserve existing match order. Full list and export rendering still read live snippets. ## Validation - `make check` — 232 tests passed. - The new regression reduced six snippet reads to one and verifies live card context and numbering. - Readability, code, and test reviews completed. Verified the follow-up preserving order for coincident anchors headlessly.
eleith-gitea-agent Bot added 1 commit 2026-11-30 23:51:47 +00:00
Find the comment before reading its snippet
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
aa203c105d
eleith merged commit aa203c105d into main 2026-11-30 23:53:10 +00:00
eleith deleted branch refactor/resolve-comment-before-reading-snippet 2026-11-30 23:53:10 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eleith/scratch-comments.nvim#20