summaryrefslogtreecommitdiff
path: root/script/proto/diagnostic.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-07-12 16:16:58 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-07-12 16:17:17 +0800
commit7340483dc3071c33d5d2a726032a61632c28509a (patch)
treea0aa7d35eace42c3b68cefc115b9915b6a414739 /script/proto/diagnostic.lua
parent9902665e2a4fa9b69726df2ccce997312750c2a7 (diff)
downloadlua-language-server-7340483dc3071c33d5d2a726032a61632c28509a.zip
unreachable-code
Diffstat (limited to 'script/proto/diagnostic.lua')
-rw-r--r--script/proto/diagnostic.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/proto/diagnostic.lua b/script/proto/diagnostic.lua
index d8312dfe..dc550fac 100644
--- a/script/proto/diagnostic.lua
+++ b/script/proto/diagnostic.lua
@@ -47,6 +47,7 @@ m.register {
'redundant-return',
'empty-block',
'code-after-break',
+ 'unreachable-code',
} {
group = 'unused',
severity = 'Hint',