summaryrefslogtreecommitdiff
path: root/server/test/completion
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-18 14:31:31 +0800
committersumneko <sumneko@hotmail.com>2019-04-18 14:31:31 +0800
commitcc8fc15d26a1dfd2f30485ba21f2f313141932d0 (patch)
tree1db6eb2bb54dda2b5e1ab883bf542375b18ddc4c /server/test/completion
parent0699bff5ce3807964cda703ba00caa9dc5e90cf0 (diff)
downloadlua-language-server-cc8fc15d26a1dfd2f30485ba21f2f313141932d0.zip
自动完成
Diffstat (limited to 'server/test/completion')
-rw-r--r--server/test/completion/init.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua
index 7d59eb7a..db23ad84 100644
--- a/server/test/completion/init.lua
+++ b/server/test/completion/init.lua
@@ -769,3 +769,18 @@ t.$
kind = CompletionItemKind.Field,
}
}
+
+TEST [[
+---@$
+]]
+(EXISTS)
+
+TEST [[
+---@cl$
+]]
+{
+ {
+ label = 'class',
+ kind = CompletionItemKind.Keyword
+ }
+}