summaryrefslogtreecommitdiff
path: root/script/method/textDocument/signatureHelp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/method/textDocument/signatureHelp.lua')
-rw-r--r--script/method/textDocument/signatureHelp.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/method/textDocument/signatureHelp.lua b/script/method/textDocument/signatureHelp.lua
index e7e695ca..3c6890d7 100644
--- a/script/method/textDocument/signatureHelp.lua
+++ b/script/method/textDocument/signatureHelp.lua
@@ -18,6 +18,7 @@ return function (lsp, params)
local hover = hovers[1]
local desc = {}
desc[#desc+1] = hover.description
+ desc[#desc+1] = hover.doc
local active
local signatures = {}
for i, hover in ipairs(hovers) do
@@ -25,7 +26,7 @@ return function (lsp, params)
label = hover.label,
documentation = {
kind = 'markdown',
- value = table.concat(desc, '\n'),
+ value = table.concat(desc, '\n\n'),
},
}
if hover.argLabel then