41 lines
1.8 KiB
Markdown
41 lines
1.8 KiB
Markdown
# Changelog
|
|
|
|
## Unreleased
|
|
|
|
## [0.2.0] - 2026-11-30
|
|
|
|
### Changed
|
|
|
|
- **Visual mapping update:** Replace `:Comment<CR>` with `<Cmd>Comment<CR>` in your
|
|
Visual mapping to keep commenting on exact characterwise selections. Keys and
|
|
Normal-mode mappings are unchanged. Explicit `:Comment` ranges use whole lines.
|
|
- Simplify quickfix setup and remove unused test helpers and redundant tests.
|
|
- Share card layout code between resizing and moving to another split.
|
|
- Simplify delayed quickfix jumps by using the existing source reattachment callback.
|
|
- Find the comment to open before reading its source text.
|
|
|
|
### Fixed
|
|
|
|
- Keep unsaved comment drafts open when saving fails because the source buffer
|
|
was unloaded or wiped, or because the comment being edited was deleted.
|
|
- Keep only one comment card open. Save or discard unsaved edits before opening
|
|
another card or clearing comments.
|
|
- Keep a draft open and reject its first save if the source was edited,
|
|
reloaded, or saved with pending changes.
|
|
- Restore comments when reopening a multi-line URI buffer with a blank first line.
|
|
- Keep comments orphaned when a live URI edit invalidates their range, even if
|
|
identical text remains. Parked comments still reattach on a matching reopen.
|
|
- Keep comments with renamed source buffers so export and quickfix use the new name.
|
|
- Fall back to filesystem lookup when Git cannot start.
|
|
- Remove stale quickfix entries when clearing comments without touching other lists.
|
|
- Leave the quickfix list alone if it contains rows from another plugin.
|
|
- Export to write-only clipboards without trying to read the clipboard back.
|
|
- Keep nested backtick fences from breaking Markdown exports.
|
|
|
|
## [0.1.0] - 2026-09-30
|
|
|
|
- First tagged release.
|
|
|
|
[0.2.0]: https://git.eleith.com/eleith/scratch-comments.nvim/src/tag/v0.2.0
|
|
[0.1.0]: https://git.eleith.com/eleith/scratch-comments.nvim/src/tag/v0.1.0
|