hotfix: avoid duplicates when finding file

fixes #1018
This commit is contained in:
kiyan
2022-02-22 10:56:33 +01:00
parent 9bea1947fb
commit 2898c4d58f

View File

@@ -34,6 +34,9 @@ function M.fn(fname)
if not node.open then
node.open = true
tree_altered = true
end
if #node.nodes == 0 then
TreeExplorer:expand(node)
end