summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
Diffstat (limited to 'server/test')
-rw-r--r--server/test/completion/init.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua
index aa310d30..eb30d9a0 100644
--- a/server/test/completion/init.lua
+++ b/server/test/completion/init.lua
@@ -930,3 +930,15 @@ function f($)
kind = CompletionItemKind.Interface,
},
}
+
+TEST [[
+local function f()
+ ---@t$
+end
+]]
+{
+ {
+ label = 'type',
+ kind = CompletionItemKind.Keyword,
+ }
+}