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

@@ -31,7 +31,7 @@ function M.fn(with_sub)
a.nvim_out_write(node.absolute_path..''..new_name..'\n')
utils.rename_loaded_buffers(node.absolute_path, new_name)
events._dispatch_node_renamed(abs_path, new_name)
lib.refresh_tree()
require'nvim-tree.actions.reloaders'.reload_explorer()
end
end