diff options
Diffstat (limited to 'test-beta')
-rw-r--r-- | test-beta/completion/init.lua | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua index de22e3f4..c69e69fe 100644 --- a/test-beta/completion/init.lua +++ b/test-beta/completion/init.lua @@ -158,6 +158,32 @@ ass$ } TEST [[ +local assert = 1 +ass$ +]] +{ + { + label = 'assert', + kind = define.CompletionItemKind.Variable, + }, +} + +TEST [[ +local assert = 1 +_G.ass$ +]] +{ + { + label = 'assert', + kind = define.CompletionItemKind.Function, + }, + { + label = 'assert()', + kind = define.CompletionItemKind.Snippet, + }, +} + +TEST [[ local function ffff(a, b) end ff$ |