diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-12-10 21:55:52 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-12-10 21:55:52 +0800 |
commit | f49a70c5a28ef163ffaf8fdc17dd0dbe3816c4e2 (patch) | |
tree | f42dda2981bf7c0e015949d0e3fb0ef1b433b542 /test-beta | |
parent | 147486a480a7ce5b56361751166f997def5f9b5b (diff) | |
download | lua-language-server-f49a70c5a28ef163ffaf8fdc17dd0dbe3816c4e2.zip |
修正bug
Diffstat (limited to 'test-beta')
-rw-r--r-- | test-beta/completion/init.lua | 30 |
1 files changed, 15 insertions, 15 deletions
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,21 +219,21 @@ 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 [[ @@ -241,6 +241,14 @@ 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 [[ |