Skip to content

Commit

Permalink
fix #266 library files should not be limited
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Nov 24, 2020
1 parent 0418e03 commit 4051db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/workspace/workspace.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Expand Down

0 comments on commit 4051db5

Please sign in to comment.