chore: autogen (vimdocs+formating)

This commit is contained in:
shadmansaleh 2022-07-27 16:03:32 +00:00 committed by github-actions[bot]
parent 2d6108e07f
commit 33f03620c3
1 changed files with 3 additions and 1 deletions

View File

@ -316,7 +316,9 @@ local function refresh(opts)
-- workaround for https://github.com/nvim-lualine/lualine.nvim/issues/755
if opts.trigger == 'autocmd' then
opts.trigger = 'timer'
vim.defer_fn(function() M.refresh(opts) end, 50)
vim.defer_fn(function()
M.refresh(opts)
end, 50)
return
end