summaryrefslogtreecommitdiff
path: root/script-beta/proto
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-16 11:27:17 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-16 11:27:17 +0800
commit8c464f8fa237d85d2c99c7b36d8a62d9bcecda81 (patch)
tree85c6d6bdcd9ab446cd924bad745da5c05bdec070 /script-beta/proto
parent4e23000383857307e33ec255fe71e2e020413615 (diff)
downloadlua-language-server-8c464f8fa237d85d2c99c7b36d8a62d9bcecda81.zip
诊断检查 break 后的代码
Diffstat (limited to 'script-beta/proto')
-rw-r--r--script-beta/proto/define.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script-beta/proto/define.lua b/script-beta/proto/define.lua
index 4dd5215e..966a5161 100644
--- a/script-beta/proto/define.lua
+++ b/script-beta/proto/define.lua
@@ -135,6 +135,7 @@ m.DiagnosticDefaultSeverity = {
['duplicate-index'] = 'Warning',
['empty-block'] = 'Hint',
['redundant-value'] = 'Hint',
+ ['code-after-break'] = 'Hint',
['duplicate-doc-class'] = 'Warning',
['undefined-doc-class'] = 'Warning',