diff options
Diffstat (limited to 'test-beta/completion/init.lua')
-rw-r--r-- | test-beta/completion/init.lua | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua index a5f4868e..3250b838 100644 --- a/test-beta/completion/init.lua +++ b/test-beta/completion/init.lua @@ -596,12 +596,27 @@ self.results.list[#$] ]] { { - label = 'self.results.list+1', + label = '#self.results.list+1', kind = CompletionItemKind.Snippet, textEdit = { - start = 20, + start = 19, finish = 20, - newText = 'self.results.list+1] = ', + newText = '#self.results.list+1] = ', + }, + }, +} + +TEST [[ +self.results.list[#$] = 1 +]] +{ + { + label = '#self.results.list+1', + kind = CompletionItemKind.Snippet, + textEdit = { + start = 19, + finish = 20, + newText = '#self.results.list+1]', }, }, } |