summaryrefslogtreecommitdiff
path: root/server/test/completion/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/completion/init.lua')
-rw-r--r--server/test/completion/init.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua
index b4ec7fd7..4d1c3e64 100644
--- a/server/test/completion/init.lua
+++ b/server/test/completion/init.lua
@@ -416,6 +416,11 @@ self.results.list[#@]
{
label = 'self.results.list+1',
kind = CompletionItemKind.Snippet,
+ textEdit = {
+ start = 20,
+ finish = 21,
+ newText = 'self.results.list+1] = ',
+ },
}
}
@@ -426,6 +431,11 @@ fff[#ff@]
{
label = 'fff+1',
kind = CompletionItemKind.Snippet,
+ textEdit = {
+ start = 6,
+ finish = 8,
+ newText = 'fff+1] = ',
+ },
},
{
label = 'fff',