diff --git a/lua/auto-session/init.lua b/lua/auto-session/init.lua index 2770474..ea2fb64 100644 --- a/lua/auto-session/init.lua +++ b/lua/auto-session/init.lua @@ -937,7 +937,7 @@ function SetupAutocmds() end, }) - vim.api.nvim_create_autocmd({ "VimLeave" }, { + vim.api.nvim_create_autocmd({ "VimLeavePre" }, { group = group, pattern = "*", callback = function()