summaryrefslogtreecommitdiff
path: root/script-beta/proto/define.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-10-23 16:56:01 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-10-23 16:56:01 +0800
commit71a394c07bf51a2c479e43fd9421c276f7ec4450 (patch)
treef4cc650bbb48c26b35b9aca0a9ed6768a1adfba3 /script-beta/proto/define.lua
parent5619f5aec549eb931c1c7727702afc89e6672ad9 (diff)
downloadlua-language-server-71a394c07bf51a2c479e43fd9421c276f7ec4450.zip
class 只能扩展 class,单独诊断
Diffstat (limited to 'script-beta/proto/define.lua')
-rw-r--r--script-beta/proto/define.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script-beta/proto/define.lua b/script-beta/proto/define.lua
index 5d737ce1..5aa8d82b 100644
--- a/script-beta/proto/define.lua
+++ b/script-beta/proto/define.lua
@@ -131,6 +131,7 @@ m.DiagnosticDefaultSeverity = {
['redundant-value'] = 'Hint',
['duplicate-doc-class'] = 'Warning',
+ ['undefined-doc-class'] = 'Warning',
['undefined-doc-name'] = 'Warning',
['circle-doc-class'] = 'Warning',
}