diff options
Diffstat (limited to 'script-beta/core/hover')
-rw-r--r-- | script-beta/core/hover/description.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/script-beta/core/hover/description.lua b/script-beta/core/hover/description.lua index ea2486a1..dfb260b0 100644 --- a/script-beta/core/hover/description.lua +++ b/script-beta/core/hover/description.lua @@ -181,6 +181,10 @@ local function tryLibrary(source) end local function tryDocComment(source) + if source.type == 'field' + or source.type == 'method' then + source = source.parent + end if not source.bindDocs then return end |