summaryrefslogtreecommitdiff
path: root/server/src/core/hover/function.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-10-21 21:51:09 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-10-21 21:51:09 +0800
commite9728bdbafa7d93bf1f017ab5835ad84890604fc (patch)
tree7c042e9837b217a7d064797fb6385f131a2fee66 /server/src/core/hover/function.lua
parent079847053a3020600a9fd0c35e12a9f7e8d57f16 (diff)
downloadlua-language-server-e9728bdbafa7d93bf1f017ab5835ad84890604fc.zip
#101 在多返回值前面加上序号
Diffstat (limited to 'server/src/core/hover/function.lua')
-rw-r--r--server/src/core/hover/function.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/hover/function.lua b/server/src/core/hover/function.lua
index 8796be57..3865f602 100644
--- a/server/src/core/hover/function.lua
+++ b/server/src/core/hover/function.lua
@@ -126,7 +126,7 @@ local function buildValueReturns(func)
end
end
if i > 1 then
- strs[#strs+1] = '\n , '
+ strs[#strs+1] = ('\n% 3d. '):format(i)
end
if emmy and emmy.name then
strs[#strs+1] = ('%s: '):format(emmy.name)