summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/src/matcher/diagnostics.lua2
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 = {}