bookmarks.nvim
bookmarks.nvim copied to clipboard
feat: improve bookmark tracking with auto-refresh and line number adjustments
This update improves the reliability of bookmark tracking in dynamic editing scenarios.
Changes
- Automatically refresh bookmarks on text changes (
TextChanged,TextChangedI) - Adjust bookmark line numbers when text is inserted or deleted above them
- Prevent redundant buffer attachments by tracking already-attached buffers
- Improve code formatting and indentation consistency
Why
Previously, bookmark positions could become inaccurate after inserting lines or using undo operations. This change ensures that bookmarks are updated automatically, maintaining correct positioning across all typical editing actions.
Let me know if any changes are needed. Thanks!