From 4b5048aee113831b4ef2e2d3b9e62084b3b7e402 Mon Sep 17 00:00:00 2001 From: shadmansaleh Date: Mon, 8 Aug 2022 10:11:17 +0000 Subject: [PATCH] chore: autogen (vimdocs+formating) --- lua/lualine.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lua/lualine.lua b/lua/lualine.lua index 53fb1af..181ed21 100644 --- a/lua/lualine.lua +++ b/lua/lualine.lua @@ -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)