summaryrefslogtreecommitdiff
path: root/script/provider/provider.lua
diff options
context:
space:
mode:
authorCppCXY <812125110@qq.com>2023-07-10 20:07:59 +0800
committerCppCXY <812125110@qq.com>2023-07-10 20:07:59 +0800
commitff6b6619360ab5c60c70d9d764ea9b9b187b17e6 (patch)
tree25bfdadb51b0554abfded93cf25389b6600eb7e9 /script/provider/provider.lua
parent065cc4e3266ac683fd60af8929b0c79038cfc930 (diff)
parenta2bb5a377517286b9c517af4be2b53a82c61f646 (diff)
downloadlua-language-server-ff6b6619360ab5c60c70d9d764ea9b9b187b17e6.zip
Merge branch 'master' of github.com:CppCXY/lua-language-server into HEAD
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