Progress
parent
0826179c90
commit
68a7d86c61
|
|
@ -35,9 +35,9 @@ function M.load_session(session)
|
||||||
pattern = "PersistedSavePost",
|
pattern = "PersistedSavePost",
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.print("delete and load")
|
vim.print("delete and load")
|
||||||
-- for _, buf in ipairs(vim.api.nvim_list_bufs()) do
|
for _, buf in ipairs(vim.api.nvim_list_bufs()) do
|
||||||
-- vim.api.nvim_buf_delete(buf, { force = true })
|
vim.api.nvim_buf_delete(buf, { force = true })
|
||||||
-- end
|
end
|
||||||
persisted.load({ session = session.file_path })
|
persisted.load({ session = session.file_path })
|
||||||
return true
|
return true
|
||||||
end,
|
end,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue