From e818b4bd52458bed6842555ce7f9b8d874968b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 7 Dec 2020 17:19:05 +0800 Subject: no use --- script/core/completion.lua | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/script/core/completion.lua b/script/core/completion.lua index 1eb1cf70..924a9691 100644 --- a/script/core/completion.lua +++ b/script/core/completion.lua @@ -923,14 +923,13 @@ local function mergeEnums(a, b, source) if label and not mark[label] then mark[label] = true local result = { - label = label, - kind = define.CompletionItemKind.EnumMember, - description = enum.description, - insertTextFormat = 2, - textEdit = source and { - start = source.start, - finish = source.finish, - newText = label, + label = label, + kind = define.CompletionItemKind.EnumMember, + description = enum.description, + textEdit = source and { + start = source.start, + finish = source.finish, + newText = label, }, } a[#a+1] = result -- cgit v1.2.3