summaryrefslogtreecommitdiff
path: root/script/proto
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-23 17:46:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-23 17:46:30 +0800
commit54876cb601466c409eb0be1af489c7ceca7f22cf (patch)
tree5f163db31216d283347246c04b6fe469dd4c7d76 /script/proto
parentea72b346a69e29110482e55044b8dcf02c378863 (diff)
downloadlua-language-server-54876cb601466c409eb0be1af489c7ceca7f22cf.zip
close #415 new diagnostic: `duplicate-set-field`
Diffstat (limited to 'script/proto')
-rw-r--r--script/proto/define.lua2
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',