diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-27 17:50:38 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-27 17:50:38 +0800 |
commit | 9474261f54ae620a853856f9adce0083ce66dec7 (patch) | |
tree | 96a8d98a7216092ef5fbc58507e078425a3ea762 /server/test/completion/init.lua | |
parent | 927928f3585342dbb3c8960fe7158e25e6536126 (diff) | |
download | lua-language-server-9474261f54ae620a853856f9adce0083ce66dec7.zip |
居然不能吃之前的字符
Diffstat (limited to 'server/test/completion/init.lua')
-rw-r--r-- | server/test/completion/init.lua | 10 |
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', |