From 3267981ad105830ba115300597b449c047e12b09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 9 Sep 2020 17:35:59 +0800 Subject: =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=87=8D=E5=A4=8D=E6=A3=80=E6=9F=A5p?= =?UTF-8?q?rovide=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test-beta/completion/init.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'test-beta/completion/init.lua') diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua index fb1f6373..30731a3c 100644 --- a/test-beta/completion/init.lua +++ b/test-beta/completion/init.lua @@ -314,6 +314,25 @@ local results ]] (EXISTS) +TEST [[ +local a$ + +local function f(fff) + fff = ast + fff = ast + fff = ast + fff = ast + fff = ast + fff = ast +end +]] +{ + { + label = 'ast', + kind = CompletionItemKind.Variable, + } +} + TEST [[ t.a = {} t.b = {} -- cgit v1.2.3