summaryrefslogtreecommitdiff
path: root/script/core/hover
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-18 20:25:54 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-18 20:25:54 +0800
commit170d9b5c7af761a2507727e4a9e303187a0f9120 (patch)
tree7c0fa455feca384b890cc11461de8d6c6ff83be0 /script/core/hover
parentd845f923cb32aa08706cef2bff5c2af0bd35fa9a (diff)
downloadlua-language-server-170d9b5c7af761a2507727e4a9e303187a0f9120.zip
deep search
Diffstat (limited to 'script/core/hover')
-rw-r--r--script/core/hover/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/core/hover/init.lua b/script/core/hover/init.lua
index 41616bc9..51dacada 100644
--- a/script/core/hover/init.lua
+++ b/script/core/hover/init.lua
@@ -155,6 +155,7 @@ local function getHoverByUri(uri, offset)
if not source then
return nil
end
+ vm.getAllDefs(source)
local hover = getHover(source)
if SHOWSOURCE then
hover.description = ('%s\n---\n\n```lua\n%s\n```'):format(