diff options
Diffstat (limited to 'test-beta')
-rw-r--r-- | test-beta/completion/init.lua | 32 | ||||
-rw-r--r-- | test-beta/signature/init.lua | 2 |
2 files changed, 25 insertions, 9 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua index e11bd0fb..a37ca753 100644 --- a/test-beta/completion/init.lua +++ b/test-beta/completion/init.lua @@ -329,6 +329,26 @@ do$ label = 'loadfile()', kind = define.CompletionItemKind.Snippet, }, + { + label = 'loadstring', + kind = define.CompletionItemKind.Function, + deprecated = true, + }, + { + label = 'loadstring()', + kind = define.CompletionItemKind.Snippet, + deprecated = true, + }, + { + label = 'module', + kind = define.CompletionItemKind.Function, + deprecated = true, + }, + { + label = 'module()', + kind = define.CompletionItemKind.Snippet, + deprecated = true, + }, } TEST [[ @@ -850,7 +870,7 @@ xx$ TEST [[ local index -tbl[ind$] +tbl[inde$] ]] { { @@ -1271,16 +1291,12 @@ TEST [[ } TEST [[ ----@class Class ----@param x C$ +---@class ZClass +---@param x ZC$ ]] { { - label = 'Class', - kind = define.CompletionItemKind.Class, - }, - { - label = 'function', + label = 'ZClass', kind = define.CompletionItemKind.Class, }, } diff --git a/test-beta/signature/init.lua b/test-beta/signature/init.lua index ee89bb3d..978bbe34 100644 --- a/test-beta/signature/init.lua +++ b/test-beta/signature/init.lua @@ -111,7 +111,7 @@ TEST [[ ]] { label = [[ -function string:sub(i: integer [, j: integer]) +function string:sub(i: integer, j: integer?) ]], arg = {21, 30}, } |