diff options
Diffstat (limited to 'test/completion')
-rw-r--r-- | test/completion/common.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/completion/common.lua b/test/completion/common.lua index 3b06d572..a01b2d10 100644 --- a/test/completion/common.lua +++ b/test/completion/common.lua @@ -2723,3 +2723,19 @@ TEST [[ kind = define.CompletionItemKind.Class, } } + +TEST [[ +---@class A +---@field zzzz number + +---@param x A +local function f(x) end + +f({zzz<??>}) +]] +{ + [1] = { + label = 'zzzz', + kind = define.CompletionItemKind.Property, + } +} |