From d92837f7ddcd2e4da3148e6ceba6aded46d6edfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 3 Nov 2020 16:15:46 +0800 Subject: =?UTF-8?q?doc.param=20=E7=9A=84=E8=87=AA=E5=8A=A8=E5=AE=8C?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test-beta/completion/init.lua | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'test-beta') diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua index 81935fa9..630c9b47 100644 --- a/test-beta/completion/init.lua +++ b/test-beta/completion/init.lua @@ -1259,7 +1259,7 @@ TEST [[ }, } -do return end +Cared['insertText'] = true TEST [[ ---@param $ function f(a, b, c) @@ -1288,6 +1288,18 @@ a any }, } +TEST [[ +---@param aa$ +function f(aaa, bbb, ccc) +end +]] +{ + { + label = 'aaa', + kind = define.CompletionItemKind.Interface, + }, +} + TEST [[ local function f() ---@param $ @@ -1346,6 +1358,13 @@ a any }, } +TEST [[ +---@param aaa $ +function f(aaa, bbb, ccc) +end +]] +(EXISTS) + do return end TEST [[ ---@param xyz Class -- cgit v1.2.3