summaryrefslogtreecommitdiff
path: root/script/proto
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-04-13 11:38:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-04-13 11:38:50 +0800
commit7ff91cdfa6cd43f0e3d628c94709db9dc5e2922f (patch)
treecb26ae5c0b19656d32cb38d0b44b2d5a1fb899c2 /script/proto
parente4c388b1ec0aa9129d1339b09a15260cbf1f7489 (diff)
downloadlua-language-server-7ff91cdfa6cd43f0e3d628c94709db9dc5e2922f.zip
resolve #494 new diagnostic: `deprecated`
Diffstat (limited to 'script/proto')
-rw-r--r--script/proto/define.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/proto/define.lua b/script/proto/define.lua
index 6bc3b891..75561e87 100644
--- a/script/proto/define.lua
+++ b/script/proto/define.lua
@@ -76,6 +76,7 @@ m.DiagnosticDefaultSeverity = {
['close-non-object'] = 'Warning',
['count-down-loop'] = 'Warning',
['no-implicit-any'] = 'Information',
+ ['deprecated'] = 'Warning',
['duplicate-doc-class'] = 'Warning',
['undefined-doc-class'] = 'Warning',
@@ -126,6 +127,7 @@ m.DiagnosticDefaultNeededFileStatus = {
['close-non-object'] = 'Any',
['count-down-loop'] = 'Any',
['no-implicit-any'] = 'None',
+ ['deprecated'] = 'Any',
['duplicate-doc-class'] = 'Any',
['undefined-doc-class'] = 'Any',