From 0ad7145127dce5d1578e3d680adf50b90a92370a Mon Sep 17 00:00:00 2001 From: shadmansaleh <13149513+shadmansaleh@users.noreply.github.com> Date: Wed, 4 Aug 2021 08:37:35 +0600 Subject: [PATCH] feat: reload lualine after bacground is set. So themes can adapt --- lua/lualine/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/lualine/init.lua b/lua/lualine/init.lua index 920043c..3937fb6 100644 --- a/lua/lualine/init.lua +++ b/lua/lualine/init.lua @@ -189,6 +189,7 @@ local function setup_theme() highlight.create_highlight_groups(theme) vim.cmd [[ autocmd lualine ColorScheme * lua require'lualine.utils.utils'.reload_highlights() + autocmd lualine OptionSet background lua require'lualine'.setup() ]] end