mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 02:38:46 +00:00
perf(picker.matcher): yield every 1ms to prevent ui locking in large repos
This commit is contained in:
parent
92c2a00672
commit
19979c88f3
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ M.__index = M
|
|||
M.DEFAULT_SCORE = 1000
|
||||
M.INVERSE_SCORE = 1000
|
||||
|
||||
local YIELD_MATCH = 5 -- ms
|
||||
local YIELD_MATCH = 1 -- ms
|
||||
|
||||
---@class snacks.picker.matcher.Mods
|
||||
---@field pattern string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue