diff options
Diffstat (limited to 'script-beta/core/hover/name.lua')
-rw-r--r-- | script-beta/core/hover/name.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/script-beta/core/hover/name.lua b/script-beta/core/hover/name.lua index b96a8169..83c750c3 100644 --- a/script-beta/core/hover/name.lua +++ b/script-beta/core/hover/name.lua @@ -28,6 +28,12 @@ local function asGlobal(source) end local function buildName(source) + if source.doc then + return source.doc + end + if source.name then + return source.name + end if source.type == 'local' or source.type == 'getlocal' or source.type == 'setlocal' then |