summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorunknown <sumnekosun@intranet.123u.com>2019-04-01 15:23:08 +0800
committerunknown <sumnekosun@intranet.123u.com>2019-04-01 15:23:08 +0800
commit383418952e9946618c16720af70d1097a6092d0b (patch)
tree072c8682e0016021e641d53c2dd66ed6629a3a5c /server
parent5e52cfda9be18b78b77ebce0cee30b10618f1ae1 (diff)
downloadlua-language-server-383418952e9946618c16720af70d1097a6092d0b.zip
require的自动完成换个图标
Diffstat (limited to 'server')
-rw-r--r--server/src/core/completion.lua2
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 坑爹自动完成的字符串里面不能包含符号