We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cff878 commit a197f75Copy full SHA for a197f75
lua/lazy/core/config.lua
@@ -37,6 +37,7 @@ M.defaults = {
37
-- defaults for `Lazy log`
38
log = { "-10" }, -- last 10 commits
39
-- log = { "--since=3 days ago" }, -- commits from the last 3 days
40
+ throttle = 20, -- how frequently should the ui process render events
41
},
42
}
43
lua/lazy/view/init.lua
@@ -98,7 +98,7 @@ function M.show(mode)
98
})
99
100
local render = Render.new(buf, win, 2)
101
- local update = Util.throttle(30, function()
+ local update = Util.throttle(Config.options.ui.throttle, function()
102
if buf and vim.api.nvim_buf_is_valid(buf) then
103
vim.bo[buf].modifiable = true
104
render:update()
0 commit comments