diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-07-15 15:04:56 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-07-15 15:04:56 +0800 |
commit | b194e1dcc6baff0274051a957d345366dd941977 (patch) | |
tree | 22da52155c283167d89236050af1cdd5ee33c327 /server/src | |
parent | 2b06194b9447fab098258d642df2623910355d39 (diff) | |
download | lua-language-server-b194e1dcc6baff0274051a957d345366dd941977.zip |
过测试
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/core/hover/function.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/core/hover/function.lua b/server/src/core/hover/function.lua index 6139bd1b..42d6bf6d 100644 --- a/server/src/core/hover/function.lua +++ b/server/src/core/hover/function.lua @@ -194,12 +194,11 @@ local function getComment(func) end end end - comments[#comments+1] = '\n' comments[#comments+1] = func:getComment() if #comments == 0 then return nil end - return table.concat(comments, '\n') + return table.concat(comments, '\n\n') end local function getOverLoads(name, func, object, select) |