summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-12-30 19:46:03 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-12-30 19:46:03 +0800
commit76af92ca93ff4c9bf4b6fc62bbc49481a17ea044 (patch)
treeddd3f3ba07551c9b6ce5be4b74618bd47983c7db /script/vm
parentb1c20a1f24cc7e17d446b2ac4e4118c36173dc20 (diff)
downloadlua-language-server-76af92ca93ff4c9bf4b6fc62bbc49481a17ea044.zip
update
Diffstat (limited to 'script/vm')
-rw-r--r--script/vm/getLinks.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/getLinks.lua b/script/vm/getLinks.lua
index 77d869f8..7fe31e5e 100644
--- a/script/vm/getLinks.lua
+++ b/script/vm/getLinks.lua
@@ -20,7 +20,7 @@ local function getFileLinks(uri)
if not args or not args[1] or args[1].type ~= 'string' then
return
end
- local uris = rpath.findUrisByRequirePath(args[1][1])
+ local uris = rpath.findUrisByRequirePath(uri, args[1][1])
for _, u in ipairs(uris) do
if not links[u] then
links[u] = {}