From bc7233545056f7bcfc2b50ba476099fa191701de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 22 Oct 2020 14:34:04 +0800 Subject: =?UTF-8?q?=E6=95=B4=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script-beta/define/CompletionItemKind.lua | 27 ----------------------- script-beta/define/DiagnosticDefaultSeverity.lua | 22 ------------------- script-beta/define/DiagnosticSeverity.lua | 6 ----- script-beta/define/ErrorCodes.lua | 16 -------------- script-beta/define/SymbolKind.lua | 28 ------------------------ script-beta/define/TokenModifiers.lua | 8 ------- script-beta/define/TokenTypes.lua | 21 ------------------ 7 files changed, 128 deletions(-) delete mode 100644 script-beta/define/CompletionItemKind.lua delete mode 100644 script-beta/define/DiagnosticDefaultSeverity.lua delete mode 100644 script-beta/define/DiagnosticSeverity.lua delete mode 100644 script-beta/define/ErrorCodes.lua delete mode 100644 script-beta/define/SymbolKind.lua delete mode 100644 script-beta/define/TokenModifiers.lua delete mode 100644 script-beta/define/TokenTypes.lua (limited to 'script-beta/define') diff --git a/script-beta/define/CompletionItemKind.lua b/script-beta/define/CompletionItemKind.lua deleted file mode 100644 index 45cee789..00000000 --- a/script-beta/define/CompletionItemKind.lua +++ /dev/null @@ -1,27 +0,0 @@ -return { - 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, -} diff --git a/script-beta/define/DiagnosticDefaultSeverity.lua b/script-beta/define/DiagnosticDefaultSeverity.lua deleted file mode 100644 index 75cf4a6b..00000000 --- a/script-beta/define/DiagnosticDefaultSeverity.lua +++ /dev/null @@ -1,22 +0,0 @@ -return { - ['unused-local'] = 'Hint', - ['unused-function'] = 'Hint', - ['undefined-global'] = 'Warning', - ['global-in-nil-env'] = 'Warning', - ['unused-label'] = 'Hint', - ['unused-vararg'] = 'Hint', - ['trailing-space'] = 'Hint', - ['redefined-local'] = 'Hint', - ['newline-call'] = 'Information', - ['newfield-call'] = 'Warning', - ['redundant-parameter'] = 'Hint', - ['ambiguity-1'] = 'Warning', - ['lowercase-global'] = 'Information', - ['undefined-env-child'] = 'Information', - ['duplicate-index'] = 'Warning', - ['empty-block'] = 'Hint', - ['redundant-value'] = 'Hint', - ['set-const'] = 'Error', - - ['duplicate-doc-class'] = 'Warning', -} diff --git a/script-beta/define/DiagnosticSeverity.lua b/script-beta/define/DiagnosticSeverity.lua deleted file mode 100644 index 05bd3659..00000000 --- a/script-beta/define/DiagnosticSeverity.lua +++ /dev/null @@ -1,6 +0,0 @@ -return { - Error = 1, - Warning = 2, - Information = 3, - Hint = 4, -} diff --git a/script-beta/define/ErrorCodes.lua b/script-beta/define/ErrorCodes.lua deleted file mode 100644 index befb5630..00000000 --- a/script-beta/define/ErrorCodes.lua +++ /dev/null @@ -1,16 +0,0 @@ - -return { - -- Defined by JSON RPC - ParseError = -32700, - InvalidRequest = -32600, - MethodNotFound = -32601, - InvalidParams = -32602, - InternalError = -32603, - serverErrorStart = -32099, - serverErrorEnd = -32000, - ServerNotInitialized = -32002, - UnknownErrorCode = -32001, - - -- Defined by the protocol. - RequestCancelled = -32800, -} diff --git a/script-beta/define/SymbolKind.lua b/script-beta/define/SymbolKind.lua deleted file mode 100644 index a28b3787..00000000 --- a/script-beta/define/SymbolKind.lua +++ /dev/null @@ -1,28 +0,0 @@ -return { - File = 1, - Module = 2, - Namespace = 3, - Package = 4, - Class = 5, - Method = 6, - Property = 7, - Field = 8, - Constructor = 9, - Enum = 10, - Interface = 11, - Function = 12, - Variable = 13, - Constant = 14, - String = 15, - Number = 16, - Boolean = 17, - Array = 18, - Object = 19, - Key = 20, - Null = 21, - EnumMember = 22, - Struct = 23, - Event = 24, - Operator = 25, - TypeParameter = 26, -} diff --git a/script-beta/define/TokenModifiers.lua b/script-beta/define/TokenModifiers.lua deleted file mode 100644 index b77fd386..00000000 --- a/script-beta/define/TokenModifiers.lua +++ /dev/null @@ -1,8 +0,0 @@ -return { - ["declaration"] = 1 << 0, - ["documentation"] = 1 << 1, - ["static"] = 1 << 2, - ["abstract"] = 1 << 3, - ["deprecated"] = 1 << 4, - ["readonly"] = 1 << 5, -} diff --git a/script-beta/define/TokenTypes.lua b/script-beta/define/TokenTypes.lua deleted file mode 100644 index 236a7805..00000000 --- a/script-beta/define/TokenTypes.lua +++ /dev/null @@ -1,21 +0,0 @@ -return { - ["comment"] = 0, - ["keyword"] = 1, - ["number"] = 2, - ["regexp"] = 3, - ["operator"] = 4, - ["namespace"] = 5, - ["type"] = 6, - ["struct"] = 7, - ["class"] = 8, - ["interface"] = 9, - ["enum"] = 10, - ["typeParameter"] = 11, - ["function"] = 12, - ["member"] = 13, - ["macro"] = 14, - ["variable"] = 15, - ["parameter"] = 16, - ["property"] = 17, - ["label"] = 18, -} -- cgit v1.2.3