From f49a70c5a28ef163ffaf8fdc17dd0dbe3816c4e2 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, 10 Dec 2019 21:55:52 +0800 Subject: =?UTF-8?q?=E4=BF=AE=E6=AD=A3bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test-beta/completion/init.lua | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'test-beta') diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua index 5736d9b0..228c4e78 100644 --- a/test-beta/completion/init.lua +++ b/test-beta/completion/init.lua @@ -219,27 +219,35 @@ loc$ ]] { { - label = 'collectgarbage', - kind = CompletionItemKind.Function, + label = 'local', + kind = CompletionItemKind.Keyword, }, { - label = 'collectgarbage()', + label = 'local function', kind = CompletionItemKind.Snippet, }, { - label = 'local', - kind = CompletionItemKind.Keyword, + label = 'collectgarbage', + kind = CompletionItemKind.Function, }, { - label = 'local function', + label = 'collectgarbage()', kind = CompletionItemKind.Snippet, - } + }, } TEST [[ do$ ]] { + { + label = 'do', + kind = CompletionItemKind.Keyword, + }, + { + label = 'do .. end', + kind = CompletionItemKind.Snippet, + }, { label = 'dofile', kind = CompletionItemKind.Function, @@ -264,14 +272,6 @@ do$ label = 'loadfile()', kind = CompletionItemKind.Snippet, }, - { - label = 'do', - kind = CompletionItemKind.Keyword, - }, - { - label = 'do .. end', - kind = CompletionItemKind.Snippet, - } } TEST [[ -- cgit v1.2.3