chore: remove deadcode (#265)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2024-08-27 02:40:24 -04:00
committed by GitHub
parent 0841df1f8e
commit e80246e211
3 changed files with 14 additions and 291 deletions

View File

@@ -113,6 +113,20 @@ H.autocmds = function()
end,
})
api.nvim_create_autocmd("VimResized", {
group = H.augroup,
callback = function()
local sidebar = M._get()
if not sidebar then
return
end
if not sidebar:is_open() then
return
end
sidebar:resize()
end,
})
api.nvim_create_autocmd("TabClosed", {
group = H.augroup,
pattern = "*",