diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-22 15:06:32 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-22 15:06:32 +0800 |
commit | df5bd5457ad450a0f57553ee587280bd79b43072 (patch) | |
tree | 7c77588ccb3e049c0fe166996786b9259ee60151 /test/completion/init.lua | |
parent | 99b2d0ee4994aceefca8911f8f9ec18a977aa909 (diff) | |
download | lua-language-server-df5bd5457ad450a0f57553ee587280bd79b43072.zip |
fix interface not show after `,`
Diffstat (limited to 'test/completion/init.lua')
-rw-r--r-- | test/completion/init.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/completion/init.lua b/test/completion/init.lua index 676480f5..7db54f2f 100644 --- a/test/completion/init.lua +++ b/test/completion/init.lua @@ -2060,6 +2060,23 @@ TEST [[ ---@param x cc local function f(x) end +f({aaa = 1,$}) +]] +{ + { + label = 'bbb', + kind = define.CompletionItemKind.Property, + }, +} + +TEST [[ +---@class cc +---@field aaa number # a1 +---@field bbb number # a2 + +---@param x cc +local function f(x) end + f({ { $ |