summaryrefslogtreecommitdiff
path: root/test/crossfile/completion.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/crossfile/completion.lua')
-rw-r--r--test/crossfile/completion.lua29
1 files changed, 2 insertions, 27 deletions
diff --git a/test/crossfile/completion.lua b/test/crossfile/completion.lua
index 79762646..4e573c0e 100644
--- a/test/crossfile/completion.lua
+++ b/test/crossfile/completion.lua
@@ -5,36 +5,11 @@ local platform = require 'bee.platform'
local util = require 'utility'
local config = require 'config'
local catch = require 'catch'
+local define = require 'proto.define'
rawset(_G, 'TEST', true)
-local CompletionItemKind = {
- Text = 1,
- Method = 2,
- Function = 3,
- Constructor = 4,
- Field = 5,
- Variable = 6,
- Class = 7,
- Interface = 8,
- Module = 9,
- Property = 10,
- Unit = 11,
- Value = 12,
- Enum = 13,
- Keyword = 14,
- Snippet = 15,
- Color = 16,
- File = 17,
- Reference = 18,
- Folder = 19,
- EnumMember = 20,
- Constant = 21,
- Struct = 22,
- Event = 23,
- Operator = 24,
- TypeParameter = 25,
-}
+local CompletionItemKind = define.CompletionItemKind
local EXISTS = {}