summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
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 坑爹自动完成的字符串里面不能包含符号