diff options
Diffstat (limited to 'server/test/completion')
-rw-r--r-- | server/test/completion/init.lua | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua index e26000b8..f4b459a0 100644 --- a/server/test/completion/init.lua +++ b/server/test/completion/init.lua @@ -94,6 +94,10 @@ zabcde@ ]] { { + label = 'zabcde', + kind = CompletionItemKind.Variable, + }, + { label = 'zabcdefg', kind = CompletionItemKind.Variable, } @@ -478,3 +482,26 @@ local t = { t @. ]] (nil) + +TEST [[ +local xxxx +xxxx@ +]] +(nil) + +TEST [[ +local xxxx +local XXXX +xxxx@ +]] + +{ + { + label = 'xxxx', + kind = CompletionItemKind.Variable, + }, + { + label = 'XXXX', + kind = CompletionItemKind.Variable, + } +} |