summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-05-07 16:25:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-05-07 16:25:30 +0800
commit24b83882cfca469a797bf5536f2d5c68762189bb (patch)
tree98f81c31f04733a86d48da2d31a45c96f69284aa /test/completion
parentd0f2fff90e56a6e2b1448217174e29fb0d17d05a (diff)
downloadlua-language-server-24b83882cfca469a797bf5536f2d5c68762189bb.zip
fix insertText
Diffstat (limited to 'test/completion')
-rw-r--r--test/completion/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/completion/init.lua b/test/completion/init.lua
index d5631564..b2cac99d 100644
--- a/test/completion/init.lua
+++ b/test/completion/init.lua
@@ -1001,6 +1001,7 @@ xpcal$
{
label = 'xpcall(f, msgh, arg1, ...)',
kind = define.CompletionItemKind.Function,
+ insertText = EXISTS,
},
{
label = 'xpcall(f, msgh, arg1, ...)',
@@ -1019,6 +1020,7 @@ mt:f$
{
label = 'f(a, b, c)',
kind = define.CompletionItemKind.Method,
+ insertText = EXISTS,
},
{
label = 'f(a, b, c)',
@@ -1786,6 +1788,7 @@ zzz$
{
label = 'zzzzz(list, sep, i, j)',
kind = define.CompletionItemKind.Function,
+ insertText = EXISTS,
},
{
label = 'zzzzz(list, sep, i, j)',
@@ -2269,6 +2272,7 @@ m.f$
{
label = "f()",
kind = define.CompletionItemKind.Function,
+ insertText = EXISTS,
},
{
label = "f()",