chore: add more delay not to lock Neovim

This commit is contained in:
delphinus 2023-08-07 10:25:04 +09:00
parent 2ffcfd00ed
commit c87b76f6ef
No known key found for this signature in database

View File

@ -55,7 +55,7 @@ AsyncFinder.new = function(fs, path, entry_maker, initial_results)
tx.send(entry) tx.send(entry)
if count % 1000 == 0 then if count % 1000 == 0 then
-- NOTE: This is needed not to lock text input. -- NOTE: This is needed not to lock text input.
async.util.sleep(0) async.util.sleep(50)
end end
end end
end end