Skip to content

Commit 684a1c2

Browse files
committed
fix(#1731): find-file refreshes root
1 parent 3ce5f54 commit 684a1c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree/explorer/reload.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ function M.refresh_nodes_for_path(path)
166166
local pn = string.format("refresh_nodes_for_path %s", path)
167167
local ps = log.profile_start(pn)
168168

169-
NodeIterator.builder(explorer.nodes)
169+
NodeIterator.builder({ explorer })
170170
:hidden()
171171
:recursor(function(node)
172172
if node.group_next then

0 commit comments

Comments
 (0)