Skip to content

Commit 74791bb

Browse files
committed
refacto: split explorer module into multiple files
1 parent 7829d7c commit 74791bb

File tree

7 files changed

+413
-378
lines changed

7 files changed

+413
-378
lines changed

lua/nvim-tree/actions/reloaders.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ end
1111

1212
local function refresh_nodes(node, projects)
1313
local project_root = git.get_project_root(node.absolute_path or node.cwd)
14-
explorer_module.refresh(node.nodes, node.absolute_path or node.cwd, node, projects[project_root] or {})
14+
explorer_module.reload(node.nodes, node.absolute_path or node.cwd, node, projects[project_root] or {})
1515
for _, _node in ipairs(node.nodes) do
1616
if _node.nodes and _node.open then
1717
refresh_nodes(_node, projects)

lua/nvim-tree/explorer.lua

Lines changed: 0 additions & 377 deletions
This file was deleted.

0 commit comments

Comments
 (0)