summaryrefslogtreecommitdiff
path: root/script/core/hover/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/hover/init.lua')
-rw-r--r--script/core/hover/init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/core/hover/init.lua b/script/core/hover/init.lua
index 06c84c86..c6c2d92e 100644
--- a/script/core/hover/init.lua
+++ b/script/core/hover/init.lua
@@ -70,6 +70,7 @@ local function getHoverAsFunction(source)
elseif def.type == 'table'
or def.type == 'boolean'
or def.type == 'string'
+ or def.type == 'integer'
or def.type == 'number' then
other = other + 1
desc = desc or getDesc(def)
@@ -151,6 +152,7 @@ local accept = {
['method'] = true,
['string'] = true,
['number'] = true,
+ ['integer'] = true,
['doc.type.name'] = true,
['function'] = true,
}