fix(lib): Refresh tree if it was opened before init. (#399)

This commit is contained in:
Sindre T. Strøm
2021-05-26 09:56:15 +02:00
committed by GitHub
parent d008e9d4a0
commit 1499360359

View File

@@ -34,6 +34,8 @@ function M.init(with_open, with_reload)
if with_open then
M.open()
elseif view.win_open() then
M.refresh_tree()
end
if with_reload then