From eb57da9aa226890bf40d6187811227f5150fb1b1 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, 16 Jan 2019 15:19:21 +0800 Subject: =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=87=AA=E5=8A=A8=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E7=AD=96=E7=95=A5=EF=BC=8C=E5=A6=82=E6=9E=9C=E6=9C=89=E5=A4=9A?= =?UTF-8?q?=E4=B8=AA=E7=BB=93=E6=9E=9C=EF=BC=8C=E5=88=99=E5=B0=86=E5=AE=8C?= =?UTF-8?q?=E5=85=A8=E4=B8=80=E8=87=B4=E7=9A=84=E6=94=BE=E5=9C=A8=E5=89=8D?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/test/completion/init.lua | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'server/test') diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua index e26000b8..f4b459a0 100644 --- a/server/test/completion/init.lua +++ b/server/test/completion/init.lua @@ -93,6 +93,10 @@ local zabcde zabcde@ ]] { + { + label = 'zabcde', + kind = CompletionItemKind.Variable, + }, { label = 'zabcdefg', kind = CompletionItemKind.Variable, @@ -478,3 +482,26 @@ local t = { t @. ]] (nil) + +TEST [[ +local xxxx +xxxx@ +]] +(nil) + +TEST [[ +local xxxx +local XXXX +xxxx@ +]] + +{ + { + label = 'xxxx', + kind = CompletionItemKind.Variable, + }, + { + label = 'XXXX', + kind = CompletionItemKind.Variable, + } +} -- cgit v1.2.3