summaryrefslogtreecommitdiff
path: root/script/proto/define.lua
diff options
context:
space:
mode:
authorCppCXY <812125110@qq.com>2022-01-24 15:14:15 +0800
committerCppCXY <812125110@qq.com>2022-01-24 15:14:15 +0800
commit38adf62e8dec279ef76073a807989dd8b7669afc (patch)
treeca3a9a55d1fcfe5d7a5c4eb49975d2a944739a43 /script/proto/define.lua
parentc8d9a8966b41288ff8a3e3fdf9e89bb1a1aee167 (diff)
downloadlua-language-server-38adf62e8dec279ef76073a807989dd8b7669afc.zip
提供代码风格诊断
Diffstat (limited to 'script/proto/define.lua')
-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 dbb6ba85..b4a0da0c 100644
--- a/script/proto/define.lua
+++ b/script/proto/define.lua
@@ -58,6 +58,7 @@ m.DiagnosticDefaultSeverity = {
['doc-field-no-class'] = 'Warning',
['duplicate-doc-field'] = 'Warning',
['unknown-diag-code'] = 'Waiting',
+ ['codestyle-check'] = "Warning",
}
---@alias DiagnosticDefaultNeededFileStatus