summaryrefslogtreecommitdiff
path: root/script/proto
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-22 16:13:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-22 16:13:50 +0800
commite5d692cb0845e5de7988904017440bd4db551bb7 (patch)
treedcfad1a5b739f3f7987d2baf5c4d6979b754b78f /script/proto
parent82c3b68c6b80f754aa9fc12a4f029eba237e2807 (diff)
downloadlua-language-server-e5d692cb0845e5de7988904017440bd4db551bb7.zip
`param-type-mismatch`
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 8c7c7a0f..45fbba9e 100644
--- a/script/proto/define.lua
+++ b/script/proto/define.lua
@@ -51,6 +51,7 @@ m.DiagnosticDefaultSeverity = {
['need-check-nil'] = 'Warning',
['cast-local-type'] = 'Warning',
['assign-type-mismatch'] = 'Warning',
+ ['param-type-mismatch'] = 'Warning',
['duplicate-doc-alias'] = 'Warning',
['undefined-doc-class'] = 'Warning',
@@ -114,6 +115,7 @@ m.DiagnosticDefaultNeededFileStatus = {
['need-check-nil'] = 'Opened',
['cast-local-type'] = 'Any',
['assign-type-mismatch'] = 'Any',
+ ['param-type-mismatch'] = 'Any',
['duplicate-doc-alias'] = 'Any',
['undefined-doc-class'] = 'Any',