diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-20 17:43:58 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-20 17:43:58 +0800 |
commit | f7399c6206378b76c87a7386707cf8e24d5a98ac (patch) | |
tree | b193931413091f363bee9d35a506c8dc4b359dc8 /script/proto | |
parent | ea94ae75080956dd49608d2a870f45f4c6ff82d8 (diff) | |
download | lua-language-server-f7399c6206378b76c87a7386707cf8e24d5a98ac.zip |
`cast-field-type`
Diffstat (limited to 'script/proto')
-rw-r--r-- | script/proto/define.lua | 2 |
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', |