diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-11-14 22:32:31 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-11-14 22:32:31 +0800 |
commit | bfeea5916effde22eae483a2f3b3077cbd7f6e52 (patch) | |
tree | 6b3728d7d92b1b474aeabf43808ef73624dc16cf /script/proto/diagnostic.lua | |
parent | 21ee5e8a7393e936f2c36d5628e2a307750f4ff5 (diff) | |
download | lua-language-server-bfeea5916effde22eae483a2f3b3077cbd7f6e52.zip |
`duplicate-set-field` supports cross files
Diffstat (limited to 'script/proto/diagnostic.lua')
-rw-r--r-- | script/proto/diagnostic.lua | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/script/proto/diagnostic.lua b/script/proto/diagnostic.lua index be30bcec..ceb42f8b 100644 --- a/script/proto/diagnostic.lua +++ b/script/proto/diagnostic.lua @@ -173,7 +173,6 @@ m.register { m.register { 'duplicate-index', - 'duplicate-set-field', } { group = 'duplicate', severity = 'Warning', @@ -181,6 +180,14 @@ m.register { } m.register { + 'duplicate-set-field', +} { + group = 'duplicate', + severity = 'Warning', + status = 'Opened', +} + +m.register { 'close-non-object', 'deprecated', 'discard-returns', |