Skip to content

Commit 5014f59

Browse files
authored
Fix tree refreshing logic (#739)
1 parent 5146198 commit 5014f59

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lua/nvim-tree/lib.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,7 @@ function M.refresh_tree(disable_clock)
197197
M.Tree.loaded = false
198198
end
199199

200-
if not disable_clock then
201-
vim.defer_fn(function() refreshing = false end, vim.g.nvim_tree_refresh_wait or 1000)
202-
end
200+
vim.defer_fn(function() refreshing = false end, vim.g.nvim_tree_refresh_wait or 1000)
203201
end
204202

205203
function M.set_index_and_redraw(fname)

0 commit comments

Comments
 (0)