diff options
Diffstat (limited to 'test-beta')
-rw-r--r-- | test-beta/completion/init.lua | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua index 5736d9b0..228c4e78 100644 --- a/test-beta/completion/init.lua +++ b/test-beta/completion/init.lua @@ -219,21 +219,21 @@ loc$ ]] { { - label = 'collectgarbage', - kind = CompletionItemKind.Function, + label = 'local', + kind = CompletionItemKind.Keyword, }, { - label = 'collectgarbage()', + label = 'local function', kind = CompletionItemKind.Snippet, }, { - label = 'local', - kind = CompletionItemKind.Keyword, + label = 'collectgarbage', + kind = CompletionItemKind.Function, }, { - label = 'local function', + label = 'collectgarbage()', kind = CompletionItemKind.Snippet, - } + }, } TEST [[ @@ -241,6 +241,14 @@ do$ ]] { { + label = 'do', + kind = CompletionItemKind.Keyword, + }, + { + label = 'do .. end', + kind = CompletionItemKind.Snippet, + }, + { label = 'dofile', kind = CompletionItemKind.Function, }, @@ -264,14 +272,6 @@ do$ label = 'loadfile()', kind = CompletionItemKind.Snippet, }, - { - label = 'do', - kind = CompletionItemKind.Keyword, - }, - { - label = 'do .. end', - kind = CompletionItemKind.Snippet, - } } TEST [[ |