fix: #60 autosave ignoring vim.fn.argc

main
olimorris 2023-03-09 09:57:27 +00:00
parent 4ee6e4c991
commit 7d91c60135
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ function M.save(opt)
opt = opt or {}
-- Do not save the session if the user has manually stopped it
if vim.g.persisting == false then
if vim.g.persisting == false or vim.g.persisting == nil then
return
end