From 6a9e89ad342ec169842ea7a225d0e149155b4c46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 17 Jun 2022 15:38:28 +0800 Subject: cleanup --- test/crossfile/completion.lua | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) (limited to 'test') 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 = {} -- cgit v1.2.3