summaryrefslogtreecommitdiff
path: root/script/provider/provider.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r--script/provider/provider.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index 787cfeb8..7b0bb98b 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -772,8 +772,8 @@ m.register 'textDocument/signatureHelp' {
for j, param in ipairs(result.params) do
parameters[j] = {
label = {
- param.label[1],
- param.label[2],
+ converter.len(result.label, 1, param.label[1]),
+ converter.len(result.label, 1, param.label[2]),
}
}
end