diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-09-24 19:28:13 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-09-24 19:28:13 +0800 |
commit | 105476fe549a37250d6799262d5ffe370e8b9350 (patch) | |
tree | 97b37f7f1bd3a1d21e276bcf2d9122562f7329d4 /script/proto | |
parent | 10ef09e0c3b553fa40845499ef7038b8e7574a01 (diff) | |
download | lua-language-server-105476fe549a37250d6799262d5ffe370e8b9350.zip |
default severity to `Warning`
Diffstat (limited to 'script/proto')
-rw-r--r-- | script/proto/define.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/proto/define.lua b/script/proto/define.lua index 0cdc6406..699bcd15 100644 --- a/script/proto/define.lua +++ b/script/proto/define.lua @@ -28,14 +28,14 @@ m.DiagnosticDefaultSeverity = { ['redefined-local'] = 'Hint', ['newline-call'] = 'Information', ['newfield-call'] = 'Warning', - ['redundant-parameter'] = 'Hint', + ['redundant-parameter'] = 'Warning', ['ambiguity-1'] = 'Warning', ['lowercase-global'] = 'Information', ['undefined-env-child'] = 'Information', ['duplicate-index'] = 'Warning', ['duplicate-set-field'] = 'Warning', ['empty-block'] = 'Hint', - ['redundant-value'] = 'Hint', + ['redundant-value'] = 'Warning', ['code-after-break'] = 'Hint', ['unbalanced-assignments'] = 'Warning', ['close-non-object'] = 'Warning', |