summaryrefslogtreecommitdiff
path: root/script/core/hover/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-11-02 19:29:35 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-11-02 19:29:35 +0800
commit0fc72b8bb723f8fb38002dd4d10f8ef86c2c7dfd (patch)
treeb3ad27c708999c27dcff3fc3c5b12f778563acf7 /script/core/hover/init.lua
parent02dd5b6557d3e70859bc3ddb234f8924b0166221 (diff)
downloadlua-language-server-0fc72b8bb723f8fb38002dd4d10f8ef86c2c7dfd.zip
cleanup
Diffstat (limited to 'script/core/hover/init.lua')
-rw-r--r--script/core/hover/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/hover/init.lua b/script/core/hover/init.lua
index 2051623c..d9fb2b6d 100644
--- a/script/core/hover/init.lua
+++ b/script/core/hover/init.lua
@@ -16,7 +16,7 @@ local function getHover(source)
local descMark = {}
if source.type == 'doc.see.name' then
- for _, symbol in ipairs(wssymbol(source[1])) do
+ for _, symbol in ipairs(wssymbol(source[1], guide.getUri(source))) do
if symbol.name == source[1] then
source = symbol.source
break