summaryrefslogtreecommitdiff
path: root/server/src/method
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-12 15:04:25 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-12 15:04:25 +0800
commit9efa5581ec3c628694c71c77970e769b83b31b00 (patch)
tree5f60ec4279383ec565b0cab17f8919a45feb196a /server/src/method
parent4f11f1b3a291dbbe3e8185b49aa1346f7977ecb5 (diff)
downloadlua-language-server-9efa5581ec3c628694c71c77970e769b83b31b00.zip
修正一个bug
Diffstat (limited to 'server/src/method')
-rw-r--r--server/src/method/textDocument/signatureHelp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/method/textDocument/signatureHelp.lua b/server/src/method/textDocument/signatureHelp.lua
index 63868e9d..cf9935bd 100644
--- a/server/src/method/textDocument/signatureHelp.lua
+++ b/server/src/method/textDocument/signatureHelp.lua
@@ -34,7 +34,7 @@ return function (lsp, params)
local response = {
signatures = signatures,
- activeSignature = #signatures - 1,
+ activeSignature = 0,
}
return response