summaryrefslogtreecommitdiff
path: root/test-beta/completion/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test-beta/completion/init.lua')
-rw-r--r--test-beta/completion/init.lua39
1 files changed, 15 insertions, 24 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua
index b6c413af..add0125c 100644
--- a/test-beta/completion/init.lua
+++ b/test-beta/completion/init.lua
@@ -864,7 +864,6 @@ t.$
{
label = '__index',
kind = CompletionItemKind.Field,
- detail = EXISTS,
}
}
@@ -876,51 +875,46 @@ else$
]]
{
{
+ label = 'else',
+ kind = CompletionItemKind.Keyword,
+ },
+ {
+ label = 'elseif',
+ kind = CompletionItemKind.Keyword,
+ },
+ {
+ label = 'elseif .. then',
+ kind = CompletionItemKind.Snippet,
+ },
+ {
label = 'elseaaa',
kind = CompletionItemKind.Variable,
},
{
label = 'ELSE',
kind = CompletionItemKind.Enum,
- detail = EXISTS,
},
{
label = 'select',
kind = CompletionItemKind.Function,
- detail = EXISTS,
},
{
label = 'select()',
kind = CompletionItemKind.Snippet,
- detail = EXISTS,
- insertText = EXISTS,
},
{
label = 'setmetatable',
kind = CompletionItemKind.Function,
- detail = EXISTS,
},
{
label = 'setmetatable()',
kind = CompletionItemKind.Snippet,
- detail = EXISTS,
- insertText = EXISTS,
- },
- {
- label = 'else',
- kind = CompletionItemKind.Keyword,
},
- {
- label = 'elseif',
- kind = CompletionItemKind.Keyword,
- },
- {
- label = 'elseif .. then',
- kind = CompletionItemKind.Snippet,
- insertText = EXISTS,
- }
}
+-- TODO
+do return end
+
TEST [[
local xpcal
xpcal$
@@ -933,12 +927,10 @@ xpcal$
{
label = 'xpcall',
kind = CompletionItemKind.Function,
- detail = EXISTS,
},
{
label = 'xpcall()',
kind = CompletionItemKind.Snippet,
- detail = EXISTS,
insertText = EXISTS,
},
}
@@ -953,7 +945,6 @@ mt:f$
{
label = 'f',
kind = CompletionItemKind.Method,
- detail = EXISTS,
},
{
label = 'f()',