fixed Api.git.reload()

Tested update_git_status in reloaders.lua
This commit is contained in:
chomosuke
2022-12-06 22:47:04 +11:00
parent a342de0949
commit 3af4d14199

View File

@@ -47,7 +47,7 @@ function M.reload_explorer(_, unloaded_bufnr)
end end
function M.reload_git() function M.reload_git()
if not core.get_explorer() or not git.config.enable or event_running then if not core.get_explorer() or not git.config.git.enable or event_running then
return return
end end
event_running = true event_running = true