summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
Diffstat (limited to 'script/core')
-rw-r--r--script/core/infer.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/infer.lua b/script/core/infer.lua
index ddf51d76..03bdd440 100644
--- a/script/core/infer.lua
+++ b/script/core/infer.lua
@@ -395,7 +395,7 @@ function m.viewDocFunction(doc)
for i, rtn in ipairs(doc.returns) do
returns[i] = m.viewDocName(rtn)
end
- label = ('%s:%s'):format(label, table.concat(returns))
+ label = ('%s:%s'):format(label, table.concat(returns, ', '))
end
return label
end