Skip to content

Releases: LintaoAmons/bookmarks.nvim

v1.4.0-calibrate-bookmark

17 Aug 02:04
a77118c
Compare
Choose a tag to compare

What's Changed

New Features:

  1. Automatic Calibration: Auto-calibrate bookmarks upon entering a buffer with the new option auto_calibrate_cur_buf (default: true).
  2. Show Calibration Result: Control the display of calibration results with show_calibrate_result (default: true).
  3. Manual Calibration Command: Introduced :BookmarksCalibration for manual bookmark calibration.
  4. Enhanced Bookmark Handling: Improved API for finding bookmarks by absolute paths and checking for content discrepancies.

New Contributors

Full Changelog: v1.3.0...v1.4.0-calibrate-bookmark

v1.3.0

10 Aug 06:45
b74eba2
Compare
Choose a tag to compare

New Features

  • Isolated Bookmark Database: Added an API function reset_new_db_path allowing users to specify a unique JSON database path for different Neovim sessions. This enhancement prevents database conflicts when multiple Neovim instances are open.
  • Custom Sorting Logic: The sorting logic for bookmarks has been modularized, allowing the customization of sorting criteria through the vim.g.bookmarks_config.picker.sort_by option. Built-in sorting options include last_visited and created_at.

Bug Fixes

  • Unsaved Changes Error Handling: Implemented a check to prevent errors when the current buffer is modified but not saved. The system warns the user to save their changes before navigating to a bookmark, thus avoiding exceptions related to unsaved changes.
  • Bookmark Format Option: Corrected the bookmark_format keybinding issue that prevented custom format functions from working as intended, improving the customization capability of bookmarks displayed in the tree view.
  • Keymap for Quit Action: Fixed the issue related to traditional quit keybindings not functioning correctly within the bookmark tree view; users can now successfully quit the tree view using mapped keys like q or <ESC>.

Code Improvements

  • Linting and Code Cleanup: Improved code quality through static analysis and linting. Removed unnecessary methods and enhanced function decompositions.
  • Sign Management Enhancement: The signing logic has been made more robust, and refresh procedures have been optimized for better performance when dealing with signs in the tree structure.

Full Changelog: v1.2.0-treevew...v1.3.0-remove-cache

What's Changed

New Contributors

Full Changelog: v0.5.5...v1.3.0

v1.2.0-treevew

04 Aug 02:20
a4d4237
Compare
Choose a tag to compare

What's Changed

showcase

New Contributors

Full Changelog: v1.1.0-line-highlight-and-db-backup...v1.2.0-treevew

v1.1.0-line-highlight-and-db-backup

01 Aug 04:55
Compare
Choose a tag to compare

See the detailed updates and image preview: https://lintao-index.pages.dev/docs/Vim/Neovim/my-plugins-docs/bookmarks.nvim/release-log

Line Hightlight

Now you can set a highlight backgound color at your marked line

Config
require("bookmarks").setup({
  json_db_path = vim.fn.stdpath("data") .. "/bookmarks.db.json",
  signs = {
    mark = {
      icon = "󰃁",
      color = "red",
      -- highlight-next-line
      line_bg = "blue",
    },
  },
})

Backup DB json file

In case of data lose, we init this backup function

Right now it's simply save a backup file at the same location at the same folder of your db json file

Config
require("bookmarks").setup({
  json_db_path = vim.fn.stdpath("data") .. "/bookmarks.db.json",
  -- highlight-next-line
  enable_backup = true,
})

v1.0.0-project-info

20 Jul 14:56
8f6de6b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.5...v1.0.0-project-info

v0.5.5 Breaking Change Warnning!

12 Jul 13:02
Compare
Choose a tag to compare

Warning

Breaking change!

Dev branch will be merged into main branch next Saturday!

The json file db format will be changed.

To avoid data lose!! Be sure you have backed your current bookmark db file up

Pin the version to v0.5.4 to avoid this error message

v0.5.4

01 Jun 09:22
a978995
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.3...v0.5.4

v0.5.3

29 Apr 13:21
42371a7
Compare
Choose a tag to compare

What's Changed

  • Extend config to allow setting custom icon and highlight by @ttytm in #18

image

Full Changelog: v0.5.2...v0.5.3

v0.5.2

24 Apr 04:06
9cfbd93
Compare
Choose a tag to compare

What's Changed

  • Use tilde(~) to resemble home paths by @ttytm in #15

New Contributors

  • @ttytm made their first contribution in #15

Full Changelog: v0.5.1...v0.5.2

v0.5.1

21 Apr 10:36
Compare
Choose a tag to compare

What's Changed

  • Add bookmark previewers

New Contributors

Full Changelog: v0.5.0...v0.5.1