refacto: buffer management, setup fixes, autocmd fixes (#967)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user