summaryrefslogtreecommitdiff
path: root/script/proto
diff options
context:
space:
mode:
authorunknown <luoxingyue@cn.net.ntes>2021-09-23 12:10:01 +0800
committerunknown <luoxingyue@cn.net.ntes>2021-09-23 13:05:08 +0800
commitf777e326716005c65aab50dfb2b974cf983021e2 (patch)
tree4d683eff97fcb781c585bf52183c44994d510f0c /script/proto
parent0c8c6bbf23082d0b858646846a47a3001f718ae2 (diff)
downloadlua-language-server-f777e326716005c65aab50dfb2b974cf983021e2.zip
add typecheck
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',