summaryrefslogtreecommitdiff
path: root/script/proto
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-17 18:15:13 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-17 18:15:13 +0800
commit166504aa87a5b2f7fe6bd41b2c572afccb717534 (patch)
tree5a61486aca3e1a98a4eeceed13e3ac583d0894eb /script/proto
parent6431519640a087499ea497066a78a6079993b945 (diff)
downloadlua-language-server-166504aa87a5b2f7fe6bd41b2c572afccb717534.zip
update
Diffstat (limited to 'script/proto')
-rw-r--r--script/proto/define.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/proto/define.lua b/script/proto/define.lua
index 2ea1fd90..8c7c7a0f 100644
--- a/script/proto/define.lua
+++ b/script/proto/define.lua
@@ -50,7 +50,7 @@ m.DiagnosticDefaultSeverity = {
['discard-returns'] = 'Warning',
['need-check-nil'] = 'Warning',
['cast-local-type'] = 'Warning',
- ['type-check-assign'] = 'Warning',
+ ['assign-type-mismatch'] = 'Warning',
['duplicate-doc-alias'] = 'Warning',
['undefined-doc-class'] = 'Warning',
@@ -113,7 +113,7 @@ m.DiagnosticDefaultNeededFileStatus = {
['discard-returns'] = 'Opened',
['need-check-nil'] = 'Opened',
['cast-local-type'] = 'Any',
- ['type-check-assign'] = 'Any',
+ ['assign-type-mismatch'] = 'Any',
['duplicate-doc-alias'] = 'Any',
['undefined-doc-class'] = 'Any',