From 14c0ba0ebbf69426cab28c98409fb04aff89a34d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 23 Nov 2021 22:10:40 +0800 Subject: make VSCode happy --- test/completion/common.lua | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'test/completion') 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)' + } } } } -- cgit v1.2.3