diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-10 09:26:03 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-10 09:26:03 +0800 |
commit | 32f431765faaddb1920f1ef4be82ea3e5ed6683c (patch) | |
tree | 1189427ddb12b54cbcd5c0cb7196493000bfec36 /server/src | |
parent | eaed7673a1ff4e167afa6cc568f714931cf370d6 (diff) | |
download | lua-language-server-32f431765faaddb1920f1ef4be82ea3e5ed6683c.zip |
重定义2此就不警告了
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/matcher/diagnostics.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/matcher/diagnostics.lua b/server/src/matcher/diagnostics.lua index 29cd4559..0ec84c9f 100644 --- a/server/src/matcher/diagnostics.lua +++ b/server/src/matcher/diagnostics.lua @@ -106,7 +106,7 @@ local function searchRedefinition(results, uri, callback) goto NEXT_VAR end -- 如果多次重定义,则不再警告 - if #shadow >= 4 then + if #shadow >= 3 then goto NEXT_VAR end local related = {} |