Skip to content

Commit 6a9e89a

Browse files
committed
cleanup
1 parent dc8bf9d commit 6a9e89a

File tree

1 file changed

+2
-27
lines changed

1 file changed

+2
-27
lines changed

test/crossfile/completion.lua

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,36 +5,11 @@ local platform = require 'bee.platform'
55
local util = require 'utility'
66
local config = require 'config'
77
local catch = require 'catch'
8+
local define = require 'proto.define'
89

910
rawset(_G, 'TEST', true)
1011

11-
local CompletionItemKind = {
12-
Text = 1,
13-
Method = 2,
14-
Function = 3,
15-
Constructor = 4,
16-
Field = 5,
17-
Variable = 6,
18-
Class = 7,
19-
Interface = 8,
20-
Module = 9,
21-
Property = 10,
22-
Unit = 11,
23-
Value = 12,
24-
Enum = 13,
25-
Keyword = 14,
26-
Snippet = 15,
27-
Color = 16,
28-
File = 17,
29-
Reference = 18,
30-
Folder = 19,
31-
EnumMember = 20,
32-
Constant = 21,
33-
Struct = 22,
34-
Event = 23,
35-
Operator = 24,
36-
TypeParameter = 25,
37-
}
12+
local CompletionItemKind = define.CompletionItemKind
3813

3914
local EXISTS = {}
4015

0 commit comments

Comments
 (0)