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