For now, if I open multiple nvim and with different session, if I save bookmark, the db file will cover each other that leading to conflicts.
So add API to reset the db file path.
for example in my nvim lua to open different json db for different session.
local function restore_bookmark()
local cwd = vim.fn.getcwd()
require('bookmarks').api.reset_new_db_path(cwd)
end
local opts = {
post_restore_cmds = { restore_bookmark },
}
require('auto-session').setup(opts)
For now, if I open multiple nvim and with different session, if I save bookmark, the db file will cover each other that leading to conflicts. So add API to reset the db file path. for example in my nvim lua to open different json db for different session.