summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-17 15:38:28 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-17 15:38:28 +0800
commit6a9e89ad342ec169842ea7a225d0e149155b4c46 (patch)
tree664c1e9070785c184c651be494bd8dd200f141b6 /test
parentdc8bf9d26b7da407d11c6b82bc27fe667cb36c8b (diff)
downloadlua-language-server-6a9e89ad342ec169842ea7a225d0e149155b4c46.zip
cleanup
Diffstat (limited to 'test')
-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 = {}