feat: reload lualine after bacground is set. So themes can adapt
This commit is contained in:
parent
46a86a9cca
commit
0ad7145127
|
@ -189,6 +189,7 @@ local function setup_theme()
|
||||||
highlight.create_highlight_groups(theme)
|
highlight.create_highlight_groups(theme)
|
||||||
vim.cmd [[
|
vim.cmd [[
|
||||||
autocmd lualine ColorScheme * lua require'lualine.utils.utils'.reload_highlights()
|
autocmd lualine ColorScheme * lua require'lualine.utils.utils'.reload_highlights()
|
||||||
|
autocmd lualine OptionSet background lua require'lualine'.setup()
|
||||||
]]
|
]]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue