We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dd194d commit 6327a80Copy full SHA for 6327a80
script/workspace/workspace.lua
@@ -222,11 +222,10 @@ function m.getLibraryMatchers(scp)
222
end
223
224
local librarys = {}
225
- for _, pathVal in ipairs(config.get(scp.uri, 'Lua.workspace.library')) do
226
- local path = pathVal
227
- path = m.getAbsolutePath(scp.uri, path)
228
- if path then
229
- librarys[files.normalize(path)] = true
+ for _, path in ipairs(config.get(scp.uri, 'Lua.workspace.library')) do
+ local apath = m.getAbsolutePath(scp.uri, path)
+ if apath then
+ librarys[files.normalize(apath)] = true
230
231
232
local metaPaths = scp:get 'metaPaths'
0 commit comments