summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
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 [[