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