mirror of
https://github.com/Myzel394/easytables.nvim.git
synced 2025-06-18 14:55:26 +02:00
fix: Close windows on exiting
This commit is contained in:
parent
a3bcf40bff
commit
482dc16d3a
@ -170,6 +170,15 @@ function M:register_listeners()
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd(
|
||||||
|
{ "QuitPre" },
|
||||||
|
{
|
||||||
|
callback = function()
|
||||||
|
self:close()
|
||||||
|
end
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
vim.api.nvim_buf_create_user_command(
|
vim.api.nvim_buf_create_user_command(
|
||||||
self.prompt_buffer,
|
self.prompt_buffer,
|
||||||
"JumpToNextCell",
|
"JumpToNextCell",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user