temporarily remove SessionWritePost autocommand to see if that's causing the exit hang
parent
ad183f1a8c
commit
12cdb6d705
|
|
@ -110,15 +110,15 @@ function M.stop()
|
||||||
M.fire("Stop")
|
M.fire("Stop")
|
||||||
end
|
end
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("SessionWritePost", {
|
-- vim.api.nvim_create_autocmd("SessionWritePost", {
|
||||||
callback = function()
|
-- callback = function()
|
||||||
if type(config.save_post) == "function" then
|
-- if type(config.save_post) == "function" then
|
||||||
config.save_post()
|
-- config.save_post()
|
||||||
end
|
-- end
|
||||||
M.fire("SavePost")
|
-- M.fire("SavePost")
|
||||||
-- return true -- returning true deletes autocmd after fired
|
-- -- return true -- returning true deletes autocmd after fired
|
||||||
end,
|
-- end,
|
||||||
})
|
-- })
|
||||||
|
|
||||||
---Save the session
|
---Save the session
|
||||||
---@param opts? { force?: boolean, session?: string }
|
---@param opts? { force?: boolean, session?: string }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue