summaryrefslogtreecommitdiff
path: root/script-beta/define
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/define')
-rw-r--r--script-beta/define/CompletionItemKind.lua27
-rw-r--r--script-beta/define/DiagnosticDefaultSeverity.lua22
-rw-r--r--script-beta/define/DiagnosticSeverity.lua6
-rw-r--r--script-beta/define/ErrorCodes.lua16
-rw-r--r--script-beta/define/SymbolKind.lua28
-rw-r--r--script-beta/define/TokenModifiers.lua8
-rw-r--r--script-beta/define/TokenTypes.lua21
7 files changed, 0 insertions, 128 deletions
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,
-}