Renamed _persist_bookmarks -> _load_bookmarks

This commit is contained in:
Diogo Duarte
2024-04-19 05:27:10 +01:00
parent 411b8e9bf4
commit 94c661afe3

View File

@@ -24,7 +24,7 @@ local _send_notification = ya.sync(
end end
) )
local _persist_bookmarks = ya.sync(function(state) local _load_bookmarks = ya.sync(function(state)
ya.err("Persist Bookmarks") ya.err("Persist Bookmarks")
ps.sub_remote("bookmarks", function(body) ps.sub_remote("bookmarks", function(body)
if not state.bookmarks and body then if not state.bookmarks and body then
@@ -197,7 +197,7 @@ return {
if args.persist == "all" or args.persist == "vim" then if args.persist == "all" or args.persist == "vim" then
state.persist = args.persist state.persist = args.persist
_persist_bookmarks() _load_bookmarks()
end end
state.notify = { state.notify = {