1
0

Fix not saving bookmarks on delete

This commit is contained in:
Stefan Rakel
2026-01-09 10:00:30 +01:00
parent 7ec4a474d7
commit 699f021c43

View File

@@ -77,7 +77,7 @@ function Bookmarks.deleteBookmark()
Bookmarks.selectBookmark("Delete", function(bookmark, idx) Bookmarks.selectBookmark("Delete", function(bookmark, idx)
if idx then if idx then
table.remove(H.state.bookmarks, idx) table.remove(H.state.bookmarks, idx)
H.saveBookmark() H.saveBookmarks()
vim.notify("Deleted bookmark \"".. bookmark.name .. "\"") vim.notify("Deleted bookmark \"".. bookmark.name .. "\"")
end end
end) end)