sessions.nvim
sessions.nvim copied to clipboard
Deleted buffer is loaded when `require('sessions').load`
Thank you for your efforts.
I loaded 4 buffers and removed 1 buffers from list.
The removed 1 buffer is listed also as $argadd in session_filepath file.
I guess it is related with why the removed 1 buffer is loaded when I call
load() function.
I called sessions.save when Vim Leaves like this
vim.api.nvim_create_autocmd('VimLeavePre', {
group = User_augroup,
pattern = '*',
callback = function ()
sessions.save(saved_path, {autosave = false})
end
})
Is this working normally?