feat: reload lualine after bacground is set. So themes can adapt

This commit is contained in:
shadmansaleh 2021-08-04 08:37:35 +06:00
parent 46a86a9cca
commit 0ad7145127
1 changed files with 1 additions and 0 deletions

View File

@ -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