summaryrefslogtreecommitdiff
path: root/script/proto
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-20 17:43:58 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-20 17:43:58 +0800
commitf7399c6206378b76c87a7386707cf8e24d5a98ac (patch)
treeb193931413091f363bee9d35a506c8dc4b359dc8 /script/proto
parentea94ae75080956dd49608d2a870f45f4c6ff82d8 (diff)
downloadlua-language-server-f7399c6206378b76c87a7386707cf8e24d5a98ac.zip
`cast-field-type`
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..d748c5a2 100644
--- a/script/proto/define.lua
+++ b/script/proto/define.lua
@@ -50,6 +50,7 @@ m.DiagnosticDefaultSeverity = {
['discard-returns'] = 'Warning',
['need-check-nil'] = 'Warning',
['cast-local-type'] = 'Warning',
+ ['cast-field-type'] = 'Warning',
['assign-type-mismatch'] = 'Warning',
['duplicate-doc-alias'] = 'Warning',
@@ -113,6 +114,7 @@ m.DiagnosticDefaultNeededFileStatus = {
['discard-returns'] = 'Opened',
['need-check-nil'] = 'Opened',
['cast-local-type'] = 'Any',
+ ['cast-field-type'] = 'Any',
['assign-type-mismatch'] = 'Any',
['duplicate-doc-alias'] = 'Any',