fix(find-file): do not recurse on closed nodes
This commit is contained in:
parent
c84735483f
commit
9d3602e8ea
@ -43,6 +43,9 @@ function M.fn(fname)
|
||||
end
|
||||
end
|
||||
end)
|
||||
:recursor(function(node)
|
||||
return node.open and node.nodes
|
||||
end)
|
||||
:iterate()
|
||||
|
||||
if found and view.is_visible() then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user