diff options
author | unknown <sumnekosun@intranet.123u.com> | 2019-04-01 15:23:08 +0800 |
---|---|---|
committer | unknown <sumnekosun@intranet.123u.com> | 2019-04-01 15:23:08 +0800 |
commit | 383418952e9946618c16720af70d1097a6092d0b (patch) | |
tree | 072c8682e0016021e641d53c2dd66ed6629a3a5c | |
parent | 5e52cfda9be18b78b77ebce0cee30b10618f1ae1 (diff) | |
download | lua-language-server-383418952e9946618c16720af70d1097a6092d0b.zip |
require的自动完成换个图标
-rw-r--r-- | server/src/core/completion.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 坑爹自动完成的字符串里面不能包含符号 |