summaryrefslogtreecommitdiff
path: root/server/test/completion/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-18 10:07:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-18 10:07:43 +0800
commitde4cec30d4befc0de4bd264c16c52c1a575cd5d3 (patch)
treef02adc55fc4a6b007dba2b59e218bc3c6c69e8b8 /server/test/completion/init.lua
parent53addf4379d9fc9d5ff23a8888022c4dcc6883f5 (diff)
downloadlua-language-server-de4cec30d4befc0de4bd264c16c52c1a575cd5d3.zip
修正 # 的自动完成失效的问题
Diffstat (limited to 'server/test/completion/init.lua')
-rw-r--r--server/test/completion/init.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua
index 5b3cf678..59189921 100644
--- a/server/test/completion/init.lua
+++ b/server/test/completion/init.lua
@@ -528,9 +528,9 @@ self.results.list[#@]
label = 'self.results.list+1',
kind = CompletionItemKind.Snippet,
textEdit = {
- start = 18,
+ start = 20,
finish = 21,
- newText = '[#self.results.list+1] = ',
+ newText = 'self.results.list+1] = ',
},
},
}
@@ -543,9 +543,9 @@ self.results.list[#self.re@]
label = 'self.results.list+1',
kind = CompletionItemKind.Snippet,
textEdit = {
- start = 18,
+ start = 20,
finish = 28,
- newText = '[#self.results.list+1] = ',
+ newText = 'self.results.list+1] = ',
},
},
{
@@ -562,9 +562,9 @@ fff[#ff@]
label = 'fff+1',
kind = CompletionItemKind.Snippet,
textEdit = {
- start = 4,
+ start = 6,
finish = 9,
- newText = '[#fff+1] = ',
+ newText = 'fff+1] = ',
},
},
{