Fix not saving bookmarks on delete
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user