summaryrefslogtreecommitdiff
path: root/server/src/method/textDocument/signatureHelp.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-01-16 16:35:14 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-01-16 16:35:14 +0800
commit137bcd30a978ab67994dacdfd83b8cb88d5df6a3 (patch)
tree587c1084d84040edd80bb2361d6ec60a14bdaf7b /server/src/method/textDocument/signatureHelp.lua
parent4cff67f7bee4304aecd1c4ce6f142eb030412bcf (diff)
downloadlua-language-server-137bcd30a978ab67994dacdfd83b8cb88d5df6a3.zip
发送给前端时-1
Diffstat (limited to 'server/src/method/textDocument/signatureHelp.lua')
-rw-r--r--server/src/method/textDocument/signatureHelp.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/method/textDocument/signatureHelp.lua b/server/src/method/textDocument/signatureHelp.lua
index ce72dbc7..63868e9d 100644
--- a/server/src/method/textDocument/signatureHelp.lua
+++ b/server/src/method/textDocument/signatureHelp.lua
@@ -23,7 +23,10 @@ return function (lsp, params)
},
parameters = {
{
- label = hover.argLabel,
+ label = {
+ hover.argLabel[1] - 1,
+ hover.argLabel[2],
+ },
},
},
}