diff options
Diffstat (limited to 'test-beta/completion/init.lua')
-rw-r--r-- | test-beta/completion/init.lua | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua index 7d1ca368..50afb137 100644 --- a/test-beta/completion/init.lua +++ b/test-beta/completion/init.lua @@ -1201,9 +1201,36 @@ io$ (EXISTS) TEST [[ -loadfile$ +loadstring$ ]] -(EXISTS) +{ + { + label = 'loadstring', + kind = define.CompletionItemKind.Function, + deprecated = true, + }, + { + label = 'loadstring()', + kind = define.CompletionItemKind.Snippet, + deprecated = true, + }, +} + +TEST [[ +function loadstring() +end +loadstring$ +]] +{ + { + label = 'loadstring', + kind = define.CompletionItemKind.Function, + }, + { + label = 'loadstring()', + kind = define.CompletionItemKind.Snippet, + }, +} TEST [[ debug.setcsta$ |