diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-09-16 13:12:41 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-09-16 13:12:41 +0800 |
commit | 605842f4792b4f7503c20bc1d111f7fecc6bde9f (patch) | |
tree | ba176411b8d9d2af40d252bb63a616927ad5a7ec /test-beta/completion/init.lua | |
parent | af397a0a318dcf3bbf0f7d0cca09ada3b992a042 (diff) | |
download | lua-language-server-605842f4792b4f7503c20bc1d111f7fecc6bde9f.zip |
修正#+1的一个错误
Diffstat (limited to 'test-beta/completion/init.lua')
-rw-r--r-- | test-beta/completion/init.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua index 69425988..6d4da4c7 100644 --- a/test-beta/completion/init.lua +++ b/test-beta/completion/init.lua @@ -634,6 +634,22 @@ self.results.list[#$] } TEST [[ +self.results.list[#$] +local n = 1 +]] +{ + { + label = '#self.results.list+1', + kind = CompletionItemKind.Snippet, + textEdit = { + start = 19, + finish = 20, + newText = '#self.results.list+1] = ', + }, + }, +} + +TEST [[ self.results.list[#$] = 1 ]] { |