Early `break` if `autocomplete` needs to update

This commit is contained in:
Guldoman 2022-04-10 04:20:46 +02:00
parent ffe698cef7
commit e5c55e8abc
No known key found for this signature in database
GPG Key ID: C08A498EC7F1AFDD
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ core.add_thread(function()
for _, doc in ipairs(core.docs) do
if not cache_is_valid(doc) then
valid = false
break
end
end
end