summaryrefslogtreecommitdiff
path: root/script/proto/diagnostic.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-10-25 00:55:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-10-25 00:55:15 +0800
commite3edc5d1880a392e065a71926b6f8ff113ea300c (patch)
tree1b64dc28b4bdacd6ef44769fb38588c286a3adea /script/proto/diagnostic.lua
parenta90a48c328045dd3f89da78a77f977ceb2cc7ae0 (diff)
downloadlua-language-server-e3edc5d1880a392e065a71926b6f8ff113ea300c.zip
diagnostic for invisible fields
#1316
Diffstat (limited to 'script/proto/diagnostic.lua')
-rw-r--r--script/proto/diagnostic.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/proto/diagnostic.lua b/script/proto/diagnostic.lua
index f6645e89..be30bcec 100644
--- a/script/proto/diagnostic.lua
+++ b/script/proto/diagnostic.lua
@@ -184,6 +184,7 @@ m.register {
'close-non-object',
'deprecated',
'discard-returns',
+ 'invisible',
} {
group = 'strict',
severity = 'Warning',