fix: increase loading display delay to avoid flicker (#424)
This commit is contained in:
parent
59b3dab6f7
commit
4c574cf4a2
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ M.set_loading = function(bufnr, is_loading)
|
|||
timers[bufnr] = vim.loop.new_timer()
|
||||
local bar_iter = M.get_bar_iter({ width = width })
|
||||
timers[bufnr]:start(
|
||||
100, -- Delay the loading screen just a bit to avoid flicker
|
||||
200, -- Delay the loading screen just a bit to avoid flicker
|
||||
math.floor(1000 / FPS),
|
||||
vim.schedule_wrap(function()
|
||||
if not vim.api.nvim_buf_is_valid(bufnr) or not timers[bufnr] then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue