summaryrefslogtreecommitdiff
path: root/server/src/core/hover/function.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core/hover/function.lua')
-rw-r--r--server/src/core/hover/function.lua3
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)