From 0354b01b082384279945c6ef02be8f297b3e9919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Sun, 13 Sep 2020 18:22:25 +0800 Subject: =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=AE=8C=E6=88=90require=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test-beta/crossfile/completion.lua | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'test-beta/crossfile/completion.lua') diff --git a/test-beta/crossfile/completion.lua b/test-beta/crossfile/completion.lua index 8ac3ac48..b20f652c 100644 --- a/test-beta/crossfile/completion.lua +++ b/test-beta/crossfile/completion.lua @@ -125,22 +125,29 @@ TEST { main = true, }, completion = { + { + label = 'aaa', + kind = CompletionItemKind.Reference, + textEdit = EXISTS, + }, { label = 'abc', kind = CompletionItemKind.Reference, - documentation = 'abc.lua', textEdit = EXISTS, }, { label = 'abc.aaa', kind = CompletionItemKind.Reference, - documentation = 'abc/aaa.lua', textEdit = EXISTS, }, { label = 'abcde', kind = CompletionItemKind.Reference, - documentation = 'xxx/abcde.lua', + textEdit = EXISTS, + }, + { + label = 'xxx.abcde', + kind = CompletionItemKind.Reference, textEdit = EXISTS, }, } -- cgit v1.2.3