summaryrefslogtreecommitdiff
path: root/script/workspace
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/workspace
parentce3a22bacd3acd2984c14246feee9bd90283279a (diff)
downloadlua-language-server-e5ef01c23e250a869e2e023ba83de1f5a28feb97.zip
get scoped files
Diffstat (limited to 'script/workspace')
-rw-r--r--script/workspace/require-path.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/workspace/require-path.lua b/script/workspace/require-path.lua
index 915d0c1e..d0d96164 100644
--- a/script/workspace/require-path.lua
+++ b/script/workspace/require-path.lua
@@ -159,7 +159,7 @@ function m.flush(suri)
if clt then
clt:dropAll()
end
- for uri in files.eachFile() do
+ for uri in files.eachFile(suri) do
m.getVisiblePath(scp.uri, furi.decode(uri))
end
end