summaryrefslogtreecommitdiff
path: root/script-beta/core/hover/name.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/core/hover/name.lua')
-rw-r--r--script-beta/core/hover/name.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script-beta/core/hover/name.lua b/script-beta/core/hover/name.lua
index 4d5b015c..9f19d8f3 100644
--- a/script-beta/core/hover/name.lua
+++ b/script-beta/core/hover/name.lua
@@ -71,6 +71,7 @@ end
local function asDocFunction(source)
local doc = guide.getParentType(source, 'doc.type')
+ or guide.getParentType(source, 'doc.overload')
if not doc or not doc.bindSources then
return ''
end