diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-23 17:46:30 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-23 17:46:30 +0800 |
commit | 54876cb601466c409eb0be1af489c7ceca7f22cf (patch) | |
tree | 5f163db31216d283347246c04b6fe469dd4c7d76 /script/proto | |
parent | ea72b346a69e29110482e55044b8dcf02c378863 (diff) | |
download | lua-language-server-54876cb601466c409eb0be1af489c7ceca7f22cf.zip |
close #415 new diagnostic: `duplicate-set-field`
Diffstat (limited to 'script/proto')
-rw-r--r-- | script/proto/define.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/script/proto/define.lua b/script/proto/define.lua index c4cffe14..7c8dea34 100644 --- a/script/proto/define.lua +++ b/script/proto/define.lua @@ -68,6 +68,7 @@ m.DiagnosticDefaultSeverity = { ['lowercase-global'] = 'Information', ['undefined-env-child'] = 'Information', ['duplicate-index'] = 'Warning', + ['duplicate-set-field'] = 'Warning', ['empty-block'] = 'Hint', ['redundant-value'] = 'Hint', ['code-after-break'] = 'Hint', @@ -114,6 +115,7 @@ m.DiagnosticDefaultNeededFileStatus = { ['lowercase-global'] = 'Any', ['undefined-env-child'] = 'Any', ['duplicate-index'] = 'Any', + ['duplicate-set-field'] = 'Any', ['empty-block'] = 'Opened', ['redundant-value'] = 'Opened', ['code-after-break'] = 'Opened', |