From ce5bacf7cb01f128ddc168342211ef003e1aef2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 20 Dec 2018 20:54:44 +0800 Subject: =?UTF-8?q?=E5=8E=BB=E6=8E=89=E4=B8=80=E4=B8=AA=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/method/textDocument/completion.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'server/src') 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, -- cgit v1.2.3