summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/core/hover.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/core/hover.lua b/server/src/core/hover.lua
index d4217d09..82e2ed9c 100644
--- a/server/src/core/hover.lua
+++ b/server/src/core/hover.lua
@@ -262,6 +262,9 @@ local function unpackTable(result)
local value = field.value
if not value then
local str = (' %s: %s,'):format(key, 'any')
+ if str == ' [*any]: any,' then
+ goto CONTINUE
+ end
lines[#lines+1] = str
goto CONTINUE
end
@@ -272,6 +275,9 @@ local function unpackTable(result)
lines[#lines+1] = str
else
local str = (' %s: %s,'):format(key, value:getType())
+ if str == ' [*any]: any,' then
+ goto CONTINUE
+ end
lines[#lines+1] = str
end
::CONTINUE::