diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-06-10 20:02:20 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-06-10 20:02:20 +0800 |
commit | 9e6fa14b8ba6c1f9573a157f0282588222cbd525 (patch) | |
tree | befa7151598750d932413acc312d84090457e5d6 /script/core/hover | |
parent | 22845a130683157df65b2868765758767f6116ae (diff) | |
download | lua-language-server-9e6fa14b8ba6c1f9573a157f0282588222cbd525.zip |
cleanup
Diffstat (limited to 'script/core/hover')
-rw-r--r-- | script/core/hover/label.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/hover/label.lua b/script/core/hover/label.lua index 032f19c0..d96b149c 100644 --- a/script/core/hover/label.lua +++ b/script/core/hover/label.lua @@ -32,7 +32,7 @@ local function asDocFunction(source) end local function asDocTypeName(source) - local defs = searcher.requestDefinition(source) + local defs = vm.getDefs(source) for _, doc in ipairs(defs) do if doc.type == 'doc.class.name' then return 'class ' .. doc[1] |