chore: autogen (vimdocs+formating)

This commit is contained in:
shadmansaleh 2022-08-08 10:11:17 +00:00 committed by github-actions[bot]
parent de778faf81
commit 4b5048aee1
1 changed files with 1 additions and 2 deletions

View File

@ -336,8 +336,7 @@ local function refresh(opts)
-- https://github.com/nvim-lualine/lualine.nvim/issues/755
-- https://github.com/neovim/neovim/issues/19472
-- https://github.com/nvim-lualine/lualine.nvim/issues/791
if opts.trigger == 'autocmd'
and vim.v.event.new_mode ~= 'c' then
if opts.trigger == 'autocmd' and vim.v.event.new_mode ~= 'c' then
opts.trigger = 'autocmd_redired'
vim.schedule(function()
M.refresh(opts)