summaryrefslogtreecommitdiff
path: root/script/provider/provider.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-23 19:28:34 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-23 19:28:34 +0800
commit5e6897bc1a25b936724af6eeb5fc463a8d395d1e (patch)
treec1c12d3b81087d201dfc2ffb8b3535ff73ba6965 /script/provider/provider.lua
parent127f0c549bb46d218e4b81db6c4ffd40394927ae (diff)
downloadlua-language-server-5e6897bc1a25b936724af6eeb5fc463a8d395d1e.zip
fix
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r--script/provider/provider.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index 938b3102..39683b2b 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -530,7 +530,7 @@ proto.on('textDocument/signatureHelp', function (params)
for j, param in ipairs(result.params) do
parameters[j] = {
label = {
- param.label[1] - 1,
+ param.label[1],
param.label[2],
}
}