fix: SessionDelete now uses native vim cmds (#156)

main
Komil484 2024-09-03 22:43:34 +05:00 committed by GitHub
parent c9c11ee71f
commit 6e9c992381
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ function M.delete(opts)
M.fire("DeletePre")
vim.schedule(function()
M.stop()
vim.fn.system("rm " .. e(session))
vim.fn.delete(vim.fn.expand(session))
end)
M.fire("DeletePost")
end