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