summaryrefslogtreecommitdiff
path: root/server/src/core/hover/function.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-10-21 15:52:55 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-10-21 15:52:55 +0800
commit49566afd015200c867f673dbe04f97dc241cc4be (patch)
treeaf843eaeb29e67d06784c42d664807561c344a36 /server/src/core/hover/function.lua
parentdcf3a0fc15d3c96fbded3960d9bc56a4dc93f737 (diff)
downloadlua-language-server-49566afd015200c867f673dbe04f97dc241cc4be.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 25849d69..df26cd40 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] = ', '
+ strs[#strs+1] = '\n , '
end
if emmy and emmy.name then
strs[#strs+1] = ('%s: '):format(emmy.name)