fix(find-file): do not recurse on closed nodes

This commit is contained in:
kiyan 2022-07-06 13:52:36 +02:00
parent c84735483f
commit 9d3602e8ea

View File

@ -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