summaryrefslogtreecommitdiff
path: root/script/workspace/workspace.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/workspace/workspace.lua')
-rw-r--r--script/workspace/workspace.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua
index 33252b9d..4c0011b3 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -141,7 +141,7 @@ function m.getNativeMatcher(scp)
end
end
end
- for path in pairs(config.get(scp.uri, 'Lua.workspace.library')) do
+ for _, path in ipairs(config.get(scp.uri, 'Lua.workspace.library')) do
path = m.getAbsolutePath(scp.uri, path)
if path then
log.debug('Ignore by library:', path)
@@ -183,7 +183,7 @@ function m.getLibraryMatchers(scp)
end
local librarys = {}
- for path in pairs(config.get(scp.uri, 'Lua.workspace.library')) do
+ for _, path in ipairs(config.get(scp.uri, 'Lua.workspace.library')) do
path = m.getAbsolutePath(scp.uri, path)
if path then
librarys[m.normalize(path)] = true