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.lua13
1 files changed, 10 insertions, 3 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua
index 965e5ac3..69a8e28e 100644
--- a/test-beta/completion/init.lua
+++ b/test-beta/completion/init.lua
@@ -1163,14 +1163,13 @@ TEST [[
]]
(EXISTS)
-do return end
TEST [[
---@cl$
]]
{
{
label = 'class',
- kind = define.CompletionItemKind.Keyword
+ kind = define.CompletionItemKind.Event
}
}
@@ -1183,12 +1182,20 @@ TEST [[
label = 'ZABC',
kind = define.CompletionItemKind.Class,
},
+}
+
+TEST [[
+---@class ZABC
+---@class ZBBC : $
+]]
+{
{
- label = 'ZBBC',
+ label = 'ZABC',
kind = define.CompletionItemKind.Class,
},
}
+do return end
TEST [[
---@class zabc
local abcd