refacto: buffer management, setup fixes, autocmd fixes (#967)

This commit is contained in:
Kiyan
2022-02-14 19:16:45 +01:00
committed by GitHub
parent 3f4ed9b6c2
commit 6da7467944
11 changed files with 377 additions and 379 deletions

View File

@@ -41,7 +41,7 @@ function M.reload_explorer(callback)
git.reload(function(projects)
refresh_nodes(TreeExplorer, projects)
if view.win_open() then
if view.is_visible() then
renderer.draw()
if callback and type(callback) == 'function' then
callback()