WIP
parent
a07ab9b474
commit
c056c72abd
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue