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.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua
index 1407d617..487de982 100644
--- a/script/core/searcher.lua
+++ b/script/core/searcher.lua
@@ -123,6 +123,10 @@ local pushDefResultsMap = util.switch()
: call(function (source, status)
return true
end)
+ : case 'doc.type.name'
+ : call(function (source, status)
+ return source.typeGeneric ~= nil
+ end)
: case 'call'
: call(function (source, status)
if source.node.special == 'rawset' then