summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/core/hover/description.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/core/hover/description.lua b/script/core/hover/description.lua
index 24360118..9b55223b 100644
--- a/script/core/hover/description.lua
+++ b/script/core/hover/description.lua
@@ -240,6 +240,8 @@ local function getFunctionComment(source)
end
end
end
+ elseif doc.type == 'doc.overload' then
+ comments[#comments+1] = '---'
end
end
comments = table.concat(comments, "\n\n")