summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/core/completion.lua15
1 files 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