fix: add saved event for save_last_and_quit function

This commit is contained in:
MasouShizuka
2025-06-14 17:35:42 +08:00
parent 696214ca62
commit 4bd79b3f94
2 changed files with 15 additions and 4 deletions

View File

@@ -90,7 +90,9 @@ The following are the default configurations:
require("projects"):setup({
save = {
method = "yazi", -- yazi | lua
lua_save_path = "", -- comment out to get the default value
yazi_load_event = "projects-load", -- event name when loading projects in `yazi` method
lua_save_path = "", -- saved file path in `lua` method, comment out or assign explicitly
-- default value:
-- windows: "%APPDATA%/yazi/state/projects.json"
-- unix: "~/.local/state/yazi/projects.json"
},