summaryrefslogtreecommitdiff
path: root/server/test/completion
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/completion')
-rw-r--r--server/test/completion/init.lua72
1 files changed, 32 insertions, 40 deletions
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,
},
}