summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-25 19:57:02 +0800
committersumneko <sumneko@hotmail.com>2019-04-25 19:57:02 +0800
commit3391ab935f18e928da414c19a84e7afc4acee779 (patch)
treecef22e7df9c64213e039935c7ca343e7f2c1f9be /server/test
parent86469f78d13bee5e53c4c073ad6c0961bc42f123 (diff)
downloadlua-language-server-3391ab935f18e928da414c19a84e7afc4acee779.zip
加个自动完成
Diffstat (limited to 'server/test')
-rw-r--r--server/test/completion/init.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua
index f8d1bef0..60e197bc 100644
--- a/server/test/completion/init.lua
+++ b/server/test/completion/init.lua
@@ -850,6 +850,14 @@ end
]]
{
{
+ label = '(a, b, c)',
+ kind = CompletionItemKind.Snippet,
+ insertText = [[
+a any
+---@param b any
+---@param c any]]
+ },
+ {
label = 'a',
kind = CompletionItemKind.Interface,
},