diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-01-16 16:35:14 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-01-16 16:35:14 +0800 |
commit | 137bcd30a978ab67994dacdfd83b8cb88d5df6a3 (patch) | |
tree | 587c1084d84040edd80bb2361d6ec60a14bdaf7b /server/src/method/textDocument/signatureHelp.lua | |
parent | 4cff67f7bee4304aecd1c4ce6f142eb030412bcf (diff) | |
download | lua-language-server-137bcd30a978ab67994dacdfd83b8cb88d5df6a3.zip |
发送给前端时-1
Diffstat (limited to 'server/src/method/textDocument/signatureHelp.lua')
-rw-r--r-- | server/src/method/textDocument/signatureHelp.lua | 5 |
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], + }, }, }, } |