refactor(#2826): more consistency checking

This commit is contained in:
Alexander Courtis
2025-06-20 12:33:16 +10:00
parent e875f15b32
commit d72f85f524
2 changed files with 87 additions and 33 deletions

View File

@@ -85,9 +85,6 @@ function Explorer:destroy()
self.sorters:destroy()
self.view:destroy()
-- TODO existing buffer is retained by global and re-used. Delete it or retain it.
-- see wipe_rogue_buffer
vim.api.nvim_del_augroup_by_id(self.augroup_id)
RootNode.destroy(self)