chore(git): schedule status update and redraw when git status update is done

This commit is contained in:
kiyan
2021-06-29 22:02:37 +02:00
parent c1b112f0ec
commit b31003e43a
3 changed files with 6 additions and 1 deletions

View File

@@ -343,7 +343,7 @@ function M.populate(entries, cwd, parent_node)
return
end
git.update_status(entries, cwd, parent_node)
vim.schedule(function() git.update_status(entries, cwd, parent_node) end)
end
return M