mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat: config option for ui throttle
This commit is contained in:
parent
0cff878b2e
commit
a197f751f9
2 changed files with 2 additions and 1 deletions
|
@ -98,7 +98,7 @@ function M.show(mode)
|
|||
})
|
||||
|
||||
local render = Render.new(buf, win, 2)
|
||||
local update = Util.throttle(30, function()
|
||||
local update = Util.throttle(Config.options.ui.throttle, function()
|
||||
if buf and vim.api.nvim_buf_is_valid(buf) then
|
||||
vim.bo[buf].modifiable = true
|
||||
render:update()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue