diff options
author | sumneko <sumneko@hotmail.com> | 2019-05-22 20:28:09 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-05-22 20:28:09 +0800 |
commit | 86a58617a89ea8f8f7070f8767b51d413d0b0266 (patch) | |
tree | 84effe167b3c73e93d7cc378e5cddf95122be0d7 /server/test | |
parent | 40b6da834d649828cea1a9f59b69657264a8c3c5 (diff) | |
download | lua-language-server-86a58617a89ea8f8f7070f8767b51d413d0b0266.zip |
保存
Diffstat (limited to 'server/test')
-rw-r--r-- | server/test/completion/init.lua | 72 |
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, }, } |