summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2022-01-23 03:33:41 +0800
committersumneko <sumneko@hotmail.com>2022-01-23 03:33:41 +0800
commite5ef01c23e250a869e2e023ba83de1f5a28feb97 (patch)
treec8545f13b7ea918848353cc94e842bf0e61229ae /script/vm
parentce3a22bacd3acd2984c14246feee9bd90283279a (diff)
downloadlua-language-server-e5ef01c23e250a869e2e023ba83de1f5a28feb97.zip
get scoped files
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 7fe31e5e..8571fb46 100644
--- a/script/vm/getLinks.lua
+++ b/script/vm/getLinks.lua
@@ -40,7 +40,7 @@ end
local function getLinksTo(uri)
local links = {}
- for u in files.eachFile() do
+ for u in files.eachFile(uri) do
local ls = getFileLinksOrCache(u)
if ls[uri] then
for _, l in ipairs(ls[uri]) do