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.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/definition.lua b/script/core/definition.lua
index 3323cb84..b089bdab 100644
--- a/script/core/definition.lua
+++ b/script/core/definition.lua
@@ -152,7 +152,7 @@ return function (uri, offset)
goto CONTINUE
end
else
- if guide.isLiteral(src) then
+ if guide.isLiteral(src) and src.type ~= 'function' then
goto CONTINUE
end
end