From 3ace6cd9ef4574f51695b5f2bbf2ce4ddf43dd69 Mon Sep 17 00:00:00 2001 From: Baraa Al-Masri Date: Thu, 19 Sep 2024 11:54:38 +0300 Subject: [PATCH] fix: update bookmarks file after toggling a bookmark --- lua/bookmarks/actions.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lua/bookmarks/actions.lua b/lua/bookmarks/actions.lua index 97c9c22..3777635 100644 --- a/lua/bookmarks/actions.lua +++ b/lua/bookmarks/actions.lua @@ -45,10 +45,9 @@ local function updateBookmarks(bufnr, lnum, mark, ann) if isIns == false or ann then marks = marks or {} marks[tostring(lnum)] = ann and { m = mark, a = ann } or { m = mark } - -- check buffer auto_save to file - -- M.saveBookmarks() end data[filepath] = marks + M.saveBookmarks() end M.toggle_signs = function(value)