summaryrefslogtreecommitdiff
path: root/server/src/core/diagnostics.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core/diagnostics.lua')
-rw-r--r--server/src/core/diagnostics.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/core/diagnostics.lua b/server/src/core/diagnostics.lua
index a8d38448..41a64da7 100644
--- a/server/src/core/diagnostics.lua
+++ b/server/src/core/diagnostics.lua
@@ -134,6 +134,9 @@ local function searchRedefinition(results, uri, callback)
then
goto NEXT_VAR
end
+ if var.hide then
+ goto NEXT_VAR
+ end
local shadow = var.shadow
if not shadow then
goto NEXT_VAR