diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-04-13 11:38:50 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-04-13 11:38:50 +0800 |
commit | 7ff91cdfa6cd43f0e3d628c94709db9dc5e2922f (patch) | |
tree | cb26ae5c0b19656d32cb38d0b44b2d5a1fb899c2 /script/proto | |
parent | e4c388b1ec0aa9129d1339b09a15260cbf1f7489 (diff) | |
download | lua-language-server-7ff91cdfa6cd43f0e3d628c94709db9dc5e2922f.zip |
resolve #494 new diagnostic: `deprecated`
Diffstat (limited to 'script/proto')
-rw-r--r-- | script/proto/define.lua | 2 |
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', |