fix: #60 autosave ignoring vim.fn.argc
parent
4ee6e4c991
commit
7d91c60135
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue