Reattach comments in URI buffers with a blank first line #10

Merged
eleith merged 1 commits from fix/reattach-blank-first-line into main 2026-11-30 18:50:10 +00:00

Summary

  • Let the existing attachment check distinguish delayed URI reads from loaded buffers that start with a blank line.
  • Reopen a wiped URI through BufReadCmd in the regression test. Strengthen the :e! test to verify the restored anchor moves with later edits.

Validation

  • make check — 226 tests passed.
  • Readability, code, and test reviews found no blockers.
## Summary - Let the existing attachment check distinguish delayed URI reads from loaded buffers that start with a blank line. - Reopen a wiped URI through `BufReadCmd` in the regression test. Strengthen the `:e!` test to verify the restored anchor moves with later edits. ## Validation - `make check` — 226 tests passed. - Readability, code, and test reviews found no blockers.
eleith-gitea-agent Bot added 1 commit 2026-11-30 18:37:46 +00:00
Reattach comments in URI buffers with a blank first line
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
8655cf992f
eleith merged commit 8655cf992f into main 2026-11-30 18:50:10 +00:00
eleith deleted branch fix/reattach-blank-first-line 2026-11-30 18:50: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#10