summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-08 20:35:02 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-08 20:35:02 +0800
commitc082743f26413673dc71cf04f6f25c4f9e34f96c (patch)
tree4b604e29de6623913d02ac128572829ed45c8262 /test/completion
parent3c265f1bd4409c5713e88127e8fdca23870ea3c1 (diff)
downloadlua-language-server-c082743f26413673dc71cf04f6f25c4f9e34f96c.zip
cleanup
Diffstat (limited to 'test/completion')
-rw-r--r--test/completion/common.lua9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/completion/common.lua b/test/completion/common.lua
index 73c6d7e6..15e2cc2a 100644
--- a/test/completion/common.lua
+++ b/test/completion/common.lua
@@ -1334,12 +1334,13 @@ end
]]
{
{
- label = 'a, b, c',
+ label = 'a, b, c, ...',
kind = define.CompletionItemKind.Snippet,
insertText = [[
a ${1:any}
---@param b ${2:any}
----@param c ${3:any}]],
+---@param c ${3:any}
+---@param ... ${4:any}]],
},
{
label = 'self',
@@ -1357,6 +1358,10 @@ a ${1:any}
label = 'c',
kind = define.CompletionItemKind.Interface,
},
+ {
+ label = '...',
+ kind = define.CompletionItemKind.Interface,
+ },
}
TEST [[