From 86a58617a89ea8f8f7070f8767b51d413d0b0266 Mon Sep 17 00:00:00 2001 From: sumneko Date: Wed, 22 May 2019 20:28:09 +0800 Subject: =?UTF-8?q?=E4=BF=9D=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/test/completion/init.lua | 72 ++++++++++++++++++----------------------- 1 file changed, 32 insertions(+), 40 deletions(-) (limited to 'server/test') diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua index 5450fcf6..918195da 100644 --- a/server/test/completion/init.lua +++ b/server/test/completion/init.lua @@ -379,83 +379,67 @@ collectgarbage('$') { { label = 'collect', + filterText = 'collect', kind = CompletionItemKind.EnumMember, documentation = EXISTS, - textEdit = { - start = 16, - finish = 17, - newText = '"collect"', - }, + textEdit = EXISTS, + additionalTextEdits = EXISTS, }, { label = 'stop', + filterText = 'stop', kind = CompletionItemKind.EnumMember, documentation = EXISTS, - textEdit = { - start = 16, - finish = 17, - newText = '"stop"', - }, + textEdit = EXISTS, + additionalTextEdits = EXISTS, }, { label = 'restart', + filterText = 'restart', kind = CompletionItemKind.EnumMember, documentation = EXISTS, - textEdit = { - start = 16, - finish = 17, - newText = '"restart"', - }, + textEdit = EXISTS, + additionalTextEdits = EXISTS, }, { label = 'count', + filterText = 'count', kind = CompletionItemKind.EnumMember, documentation = EXISTS, - textEdit = { - start = 16, - finish = 17, - newText = '"count"', - }, + textEdit = EXISTS, + additionalTextEdits = EXISTS, }, { label = 'step', + filterText = 'step', kind = CompletionItemKind.EnumMember, documentation = EXISTS, - textEdit = { - start = 16, - finish = 17, - newText = '"step"', - }, + textEdit = EXISTS, + additionalTextEdits = EXISTS, }, { label = 'setpause', + filterText = 'setpause', kind = CompletionItemKind.EnumMember, documentation = EXISTS, - textEdit = { - start = 16, - finish = 17, - newText = '"setpause"', - }, + textEdit = EXISTS, + additionalTextEdits = EXISTS, }, { label = 'setstepmul', + filterText = 'setstepmul', kind = CompletionItemKind.EnumMember, documentation = EXISTS, - textEdit = { - start = 16, - finish = 17, - newText = '"setstepmul"', - }, + textEdit = EXISTS, + additionalTextEdits = EXISTS, }, { label = 'isrunning', + filterText = 'isrunning', kind = CompletionItemKind.EnumMember, documentation = EXISTS, - textEdit = { - start = 16, - finish = 17, - newText = '"isrunning"', - }, + textEdit = EXISTS, + additionalTextEdits = EXISTS, }, } @@ -472,21 +456,29 @@ io.read($) label = '"n"', kind = CompletionItemKind.EnumMember, documentation = EXISTS, + textEdit = EXISTS, + additionalTextEdits = EXISTS, }, { label = '"a"', kind = CompletionItemKind.EnumMember, documentation = EXISTS, + textEdit = EXISTS, + additionalTextEdits = EXISTS, }, { label = '"l"', kind = CompletionItemKind.EnumMember, documentation = EXISTS, + textEdit = EXISTS, + additionalTextEdits = EXISTS, }, { label = '"L"', kind = CompletionItemKind.EnumMember, documentation = EXISTS, + textEdit = EXISTS, + additionalTextEdits = EXISTS, }, } -- cgit v1.2.3