summaryrefslogtreecommitdiff
path: root/script/core/searcher.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/searcher.lua')
-rw-r--r--script/core/searcher.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua
index fc1c08d1..c869f456 100644
--- a/script/core/searcher.lua
+++ b/script/core/searcher.lua
@@ -95,6 +95,11 @@ function m.pushResult(status, mode, source)
results[#results+1] = source
end
end
+ if parent.type == 'return' then
+ if linker.getID(source) ~= status.id then
+ results[#results+1] = source
+ end
+ end
elseif mode == 'field' then
end
end