summaryrefslogtreecommitdiff
path: root/script/proto/diagnostic.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-28 16:28:33 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-28 16:28:33 +0800
commitdf4fb9b5157cbf11f3fc5f6041afef657f0acfba (patch)
tree84f65cb0adff35c8e2563d321dc99530010c5a6b /script/proto/diagnostic.lua
parent7de3d6851a41d993b1f84eddd3331067a82e8878 (diff)
downloadlua-language-server-df4fb9b5157cbf11f3fc5f6041afef657f0acfba.zip
diag `missing-return`
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 e449d864..25f187db 100644
--- a/script/proto/diagnostic.lua
+++ b/script/proto/diagnostic.lua
@@ -60,6 +60,7 @@ m.register {
'missing-parameter',
'missing-return-value',
'redundant-return-value',
+ 'missing-return',
} {
group = 'unbalanced',
severity = 'Warning',