Skip to content

Commit

Permalink
Merge pull request #290 from rmagatti/268-bug-neovim-exit-with-error-…
Browse files Browse the repository at this point in the history
…if-auto_session_use_git_branch

Work around upstream issue executing shell commands on `VimLeave`
  • Loading branch information
rmagatti authored Apr 14, 2024
2 parents e2c5fb8 + 0744e0d commit 667df30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/auto-session/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ function SetupAutocmds()
end,
})

vim.api.nvim_create_autocmd({ "VimLeave" }, {
vim.api.nvim_create_autocmd({ "VimLeavePre" }, {
group = group,
pattern = "*",
callback = function()
Expand Down

0 comments on commit 667df30

Please sign in to comment.