fix: Close windows on exiting

This commit is contained in:
Myzel394 2023-10-07 09:49:18 +02:00
parent a3bcf40bff
commit 482dc16d3a

View File

@ -170,6 +170,15 @@ function M:register_listeners()
end,
})
vim.api.nvim_create_autocmd(
{ "QuitPre" },
{
callback = function()
self:close()
end
}
)
vim.api.nvim_buf_create_user_command(
self.prompt_buffer,
"JumpToNextCell",