diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-12-07 17:19:05 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-12-07 17:19:05 +0800 |
commit | e818b4bd52458bed6842555ce7f9b8d874968b07 (patch) | |
tree | e2439617882f7db313f8f4b937f527fa1b5d6a2d | |
parent | ae1a194b7a1f17920908cceecd2dfdaa24f70915 (diff) | |
download | lua-language-server-e818b4bd52458bed6842555ce7f9b8d874968b07.zip |
no use
-rw-r--r-- | script/core/completion.lua | 15 |
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 |