fix: confirm window deletion (#2170)
This commit is contained in:
@@ -353,7 +353,7 @@ end
|
|||||||
function M:close()
|
function M:close()
|
||||||
self:unbind_window_focus_keymaps()
|
self:unbind_window_focus_keymaps()
|
||||||
if self._group then
|
if self._group then
|
||||||
vim.api.nvim_del_augroup_by_id(self._group)
|
pcall(vim.api.nvim_del_augroup_by_id, self._group)
|
||||||
self._group = nil
|
self._group = nil
|
||||||
end
|
end
|
||||||
if self._popup then
|
if self._popup then
|
||||||
|
|||||||
Reference in New Issue
Block a user