Skip to content

Commit 4c574cf

Browse files
committed
fix: increase loading display delay to avoid flicker (#424)
1 parent 59b3dab commit 4c574cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/oil/loading.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ M.set_loading = function(bufnr, is_loading)
6767
timers[bufnr] = vim.loop.new_timer()
6868
local bar_iter = M.get_bar_iter({ width = width })
6969
timers[bufnr]:start(
70-
100, -- Delay the loading screen just a bit to avoid flicker
70+
200, -- Delay the loading screen just a bit to avoid flicker
7171
math.floor(1000 / FPS),
7272
vim.schedule_wrap(function()
7373
if not vim.api.nvim_buf_is_valid(bufnr) or not timers[bufnr] then

0 commit comments

Comments
 (0)