Fix tree refreshing logic (#739)
This commit is contained in:
parent
514619897f
commit
5014f59585
@ -197,9 +197,7 @@ function M.refresh_tree(disable_clock)
|
||||
M.Tree.loaded = false
|
||||
end
|
||||
|
||||
if not disable_clock then
|
||||
vim.defer_fn(function() refreshing = false end, vim.g.nvim_tree_refresh_wait or 1000)
|
||||
end
|
||||
vim.defer_fn(function() refreshing = false end, vim.g.nvim_tree_refresh_wait or 1000)
|
||||
end
|
||||
|
||||
function M.set_index_and_redraw(fname)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user