From 383418952e9946618c16720af70d1097a6092d0b Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 1 Apr 2019 15:23:08 +0800 Subject: =?UTF-8?q?require=E7=9A=84=E8=87=AA=E5=8A=A8=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E6=8D=A2=E4=B8=AA=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/core/completion.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') diff --git a/server/src/core/completion.lua b/server/src/core/completion.lua index 9db87c2b..23bd224c 100644 --- a/server/src/core/completion.lua +++ b/server/src/core/completion.lua @@ -345,7 +345,7 @@ local function searchInRequire(vm, select, source, callback) return end for _, str in ipairs(list) do - callback(str, nil, CompletionItemKind.File, { + callback(str, nil, CompletionItemKind.Reference, { documentation = map[str], textEdit = { -- TODO 坑爹自动完成的字符串里面不能包含符号 -- cgit v1.2.3