summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-05 10:35:02 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-05 10:35:02 +0800
commit5b95f9f1ec40ade76e55007e5cde73c0ffa96d26 (patch)
tree282b060f0e1797e8057571102b432561f2a7d2ad /test
parent88b58826a4e84d5bc4c0cf99e544c5b4073cb198 (diff)
downloadlua-language-server-5b95f9f1ec40ade76e55007e5cde73c0ffa96d26.zip
kick doc.generic on cleaning
Diffstat (limited to 'test')
-rw-r--r--test/completion/init.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/completion/init.lua b/test/completion/init.lua
index 37e7c255..7a797df9 100644
--- a/test/completion/init.lua
+++ b/test/completion/init.lua
@@ -1900,3 +1900,19 @@ local s
s.$
]]
(EXISTS)
+
+TEST [[
+---@class C
+local t
+
+local vvv = assert(t)
+vvv$
+]]
+{
+ {
+ label = 'vvv',
+ detail = 'C',
+ kind = define.CompletionItemKind.Variable,
+ description = EXISTS,
+ },
+}