summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-20 20:54:44 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-20 20:54:44 +0800
commitce5bacf7cb01f128ddc168342211ef003e1aef2a (patch)
treee454db40f3b616fcf34f211a1f39d647af5418ea /server/src
parentce7775f054c07c0ab8f13ed84ca1694659f2ea90 (diff)
downloadlua-language-server-ce5bacf7cb01f128ddc168342211ef003e1aef2a.zip
去掉一个测试代码
Diffstat (limited to 'server/src')
-rw-r--r--server/src/method/textDocument/completion.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/src/method/textDocument/completion.lua b/server/src/method/textDocument/completion.lua
index 9919bc63..d202f1a5 100644
--- a/server/src/method/textDocument/completion.lua
+++ b/server/src/method/textDocument/completion.lua
@@ -18,9 +18,6 @@ return function (lsp, params)
for i, item in ipairs(items) do
item.sortText = ('%04d'):format(i)
end
- if items[5] then
- items[5].preselect = true
- end
local response = {
isIncomplete = true,
items = items,