From 4051db5c13ea69feb97c17b3f7fa71cc85eb9224 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 24 Nov 2020 16:01:35 +0800 Subject: [PATCH] fix #266 library files should not be limited --- script/workspace/workspace.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua index 63060e408..c5744666c 100644 --- a/script/workspace/workspace.lua +++ b/script/workspace/workspace.lua @@ -173,7 +173,7 @@ local function loadFileFactory(root, progress, isLibrary) if not files.isLua(uri) then return end - if progress.preload >= config.config.workspace.maxPreload then + if not isLibrary and progress.preload >= config.config.workspace.maxPreload then if not m.hasHitMaxPreload then m.hasHitMaxPreload = true proto.notify('window/showMessage', {