mirror of
https://github.com/zoriya/auto-save.nvim.git
synced 2026-06-06 20:02:15 +00:00
fixed autocmd
This commit is contained in:
@@ -41,7 +41,7 @@ local function do_save()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local function save()
|
function M.save()
|
||||||
if (opts["write_all_buffers"] == true) then
|
if (opts["write_all_buffers"] == true) then
|
||||||
cmd([[call g:AutoSaveBufDo("lua require'autosave.modules.autocmds'.do_save()")]])
|
cmd([[call g:AutoSaveBufDo("lua require'autosave.modules.autocmds'.do_save()")]])
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user