summaryrefslogtreecommitdiff
path: root/script/proto
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-22 19:04:39 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-22 19:04:39 +0800
commitf0f26c65db90cddd7e45d751fb394e50165c4cb3 (patch)
treee4a306d20ea0e89c62e19002ef08eee0fd2c2d7c /script/proto
parenteb3d39eaedce44c8e4e25cf03494b32e874f3ca9 (diff)
downloadlua-language-server-f0f26c65db90cddd7e45d751fb394e50165c4cb3.zip
close #319 close-non-object
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 88493abe..50f4cd87 100644
--- a/script/proto/define.lua
+++ b/script/proto/define.lua
@@ -157,6 +157,7 @@ m.DiagnosticDefaultSeverity = {
['redundant-value'] = 'Hint',
['code-after-break'] = 'Hint',
['unbalanced-assignments'] = 'Warning',
+ ['close-non-object'] = 'Warning',
['duplicate-doc-class'] = 'Warning',
['undefined-doc-class'] = 'Warning',
@@ -196,6 +197,7 @@ m.DiagnosticDefaultNeededFileStatus = {
['redundant-value'] = 'Opened',
['code-after-break'] = 'Opened',
['unbalanced-assignments'] = 'Any',
+ ['close-non-object'] = 'Any',
['duplicate-doc-class'] = 'Any',
['undefined-doc-class'] = 'Any',