summaryrefslogtreecommitdiff
path: root/script/core/hover/arg.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/hover/arg.lua')
-rw-r--r--script/core/hover/arg.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/script/core/hover/arg.lua b/script/core/hover/arg.lua
index 5963ad97..4e6a1ace 100644
--- a/script/core/hover/arg.lua
+++ b/script/core/hover/arg.lua
@@ -38,7 +38,10 @@ local function asFunction(source, oop)
infer.searchAndViewInfers(arg)
)
elseif arg.type == '...' then
- args[#args+1] = '...'
+ args[#args+1] = ('%s: %s'):format(
+ '...',
+ infer.searchAndViewInfers(arg)
+ )
else
args[#args+1] = ('%s'):format(infer.searchAndViewInfers(arg))
end