summaryrefslogtreecommitdiff
path: root/script/proto
diff options
context:
space:
mode:
Diffstat (limited to 'script/proto')
-rw-r--r--script/proto/define.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/proto/define.lua b/script/proto/define.lua
index 2e61bc3e..2e4116fd 100644
--- a/script/proto/define.lua
+++ b/script/proto/define.lua
@@ -49,6 +49,7 @@ m.DiagnosticSeverity = {
--- 诊断类型与默认等级
---@type table<string, DiagnosticDefaultSeverity>
m.DiagnosticDefaultSeverity = {
+ ['type-check'] = "Hint",
['unused-local'] = 'Hint',
['unused-function'] = 'Hint',
['undefined-global'] = 'Warning',