mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
chore: add more delay not to lock Neovim
This commit is contained in:
parent
2ffcfd00ed
commit
c87b76f6ef
@ -55,7 +55,7 @@ AsyncFinder.new = function(fs, path, entry_maker, initial_results)
|
||||
tx.send(entry)
|
||||
if count % 1000 == 0 then
|
||||
-- NOTE: This is needed not to lock text input.
|
||||
async.util.sleep(0)
|
||||
async.util.sleep(50)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user