Skip to content

Commit 3dcbab2

Browse files
committed
fix detecting of library
1 parent 98efc56 commit 3dcbab2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

script/library.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,10 @@ local function check3rdByFileName(uri, configs)
569569
if hasAsked[cfg.name] then
570570
goto CONTINUE
571571
end
572+
local library = ('%s/library'):format(cfg.dirname)
573+
if util.arrayHas(config.get(uri, 'Lua.workspace.library'), library) then
574+
goto CONTINUE
575+
end
572576
for _, filename in ipairs(cfg.files) do
573577
await.delay()
574578
if wholeMatch(path, filename) then

0 commit comments

Comments
 (0)