summaryrefslogtreecommitdiff
path: root/script/core/definition.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/definition.lua')
-rw-r--r--script/core/definition.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/script/core/definition.lua b/script/core/definition.lua
index 1693406c..d77ddac1 100644
--- a/script/core/definition.lua
+++ b/script/core/definition.lua
@@ -167,6 +167,14 @@ return function (uri, offset)
goto CONTINUE
end
end
+ if src.type == 'doc.type.name' then
+ if src.typeGeneric then
+ goto CONTINUE
+ end
+ end
+ if src.type == 'doc.param' then
+ goto CONTINUE
+ end
results[#results+1] = {
target = src,