summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-06-26 21:32:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-06-26 21:32:43 +0800
commitce7e5bab967e1ef4e9567d05d688aec5d7cb5afd (patch)
treed12d231dfebd39d7e0b73dca2b79220a0a328a86
parent07e5be14313059f859f86ee842ca2d99f5027c72 (diff)
downloadlua-language-server-ce7e5bab967e1ef4e9567d05d688aec5d7cb5afd.zip
修正排序问题
-rw-r--r--server/src/method/textDocument/signatureHelp.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/server/src/method/textDocument/signatureHelp.lua b/server/src/method/textDocument/signatureHelp.lua
index 2dd69817..6551464f 100644
--- a/server/src/method/textDocument/signatureHelp.lua
+++ b/server/src/method/textDocument/signatureHelp.lua
@@ -13,10 +13,6 @@ return function (lsp, params)
end
local description = hovers[1].description
- table.sort(hovers, function (a, b)
- return a.label < b.label
- end)
-
local active
local signatures = {}
for i, hover in ipairs(hovers) do