chore: move refresh/reloaders into actions.reloaders

This commit is contained in:
kiyan
2022-02-06 16:23:51 +01:00
parent 7b64075bdf
commit 23c95a674f
9 changed files with 84 additions and 73 deletions

View File

@@ -102,7 +102,7 @@ function M.fn(node)
a.nvim_out_write(file..' was properly created\n')
end
events._dispatch_folder_created(file)
lib.refresh_tree(function()
require'nvim-tree.actions.reloaders'.reload_explorer(function()
focus_file(file)
end)
end