Bryan 2024-11-07 23:56:43 -06:00
parent a07ab9b474
commit c056c72abd
1 changed files with 2 additions and 2 deletions

View File

@ -125,12 +125,12 @@ function M.save(opts)
if type(config.save_post) == "function" then if type(config.save_post) == "function" then
config.save_post() config.save_post()
end end
M.fire("PersistedSavePost") M.fire("SavePost")
return true -- returning true deletes autocmd after fired return true -- returning true deletes autocmd after fired
end, end,
}) })
M.fire("PersistedSavePre") M.fire("SavePre")
if type(config.save_pre) == "function" then if type(config.save_pre) == "function" then
config.save_pre() config.save_pre()
end end