diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-23 22:10:40 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-23 22:10:40 +0800 |
commit | 14c0ba0ebbf69426cab28c98409fb04aff89a34d (patch) | |
tree | d79bcd1f72e002744b5b6f855dcb7e8b74aa5dfb /test/completion/common.lua | |
parent | 7c176eb6882abbe00b0a1285bbbb4ff2af897b13 (diff) | |
download | lua-language-server-14c0ba0ebbf69426cab28c98409fb04aff89a34d.zip |
make VSCode happy
Diffstat (limited to 'test/completion/common.lua')
-rw-r--r-- | test/completion/common.lua | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/test/completion/common.lua b/test/completion/common.lua index 918b6458..2080e12e 100644 --- a/test/completion/common.lua +++ b/test/completion/common.lua @@ -2764,21 +2764,16 @@ xx@pcall<??> label = 'pcall', kind = define.CompletionItemKind.Event, textEdit = { - start = 2, + start = 3, finish = 8, newText = '', }, additionalTextEdits = { { start = 0, - finish = 0, - newText = 'pcall(', - }, - { - start = 2, - finish = 2, - newText = ')', - }, + finish = 3, + newText = 'pcall(xx)' + } } } } |