summaryrefslogtreecommitdiff
path: root/script/proto
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-03 16:49:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-03 16:49:46 +0800
commit07d99d97c0612608829d001b80773b1619de9a90 (patch)
tree791e6ede2cd14e426e4401de52e842ee35fb578d /script/proto
parent696fde0354eb955ff631c985eedd076af0d72a4f (diff)
downloadlua-language-server-07d99d97c0612608829d001b80773b1619de9a90.zip
unbalanced-assignments
Diffstat (limited to 'script/proto')
-rw-r--r--script/proto/define.lua53
1 files changed, 27 insertions, 26 deletions
diff --git a/script/proto/define.lua b/script/proto/define.lua
index 67898f9b..7b58fdb4 100644
--- a/script/proto/define.lua
+++ b/script/proto/define.lua
@@ -125,33 +125,34 @@ m.DiagnosticSeverity = {
--- 诊断类型与默认等级
m.DiagnosticDefaultSeverity = {
- ['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',
- ['code-after-break'] = 'Hint',
+ ['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',
+ ['code-after-break'] = 'Hint',
+ ['unbalanced-assignments'] = 'Warning',
- ['duplicate-doc-class'] = 'Warning',
- ['undefined-doc-class'] = 'Warning',
- ['undefined-doc-name'] = 'Warning',
- ['circle-doc-class'] = 'Warning',
- ['undefined-doc-param'] = 'Warning',
- ['duplicate-doc-param'] = 'Warning',
- ['doc-field-no-class'] = 'Warning',
- ['duplicate-doc-field'] = 'Warning',
+ ['duplicate-doc-class'] = 'Warning',
+ ['undefined-doc-class'] = 'Warning',
+ ['undefined-doc-name'] = 'Warning',
+ ['circle-doc-class'] = 'Warning',
+ ['undefined-doc-param'] = 'Warning',
+ ['duplicate-doc-param'] = 'Warning',
+ ['doc-field-no-class'] = 'Warning',
+ ['duplicate-doc-field'] = 'Warning',
}
--- 诊断报告标签