Make time between each tree refresh configurable (#599)

This commit is contained in:
Uy Ha
2021-08-30 18:53:14 +02:00
committed by GitHub
parent 4cc2abe3e2
commit 5bca2006cc
2 changed files with 9 additions and 1 deletions

View File

@@ -200,7 +200,7 @@ function M.refresh_tree(disable_clock)
end
if not disable_clock then
vim.defer_fn(function() refreshing = false end, 1000)
vim.defer_fn(function() refreshing = false end, vim.g.nvim_tree_refresh_wait or 1000)
end
end