fix: theme not changing at runtime
This commit is contained in:
parent
8a4baa804b
commit
937a56d5ef
|
@ -106,6 +106,9 @@ local function set_lualine_theme()
|
||||||
end
|
end
|
||||||
|
|
||||||
local function statusline(sections, is_focused)
|
local function statusline(sections, is_focused)
|
||||||
|
if M.theme ~= theme_set then
|
||||||
|
set_lualine_theme()
|
||||||
|
end
|
||||||
local status = {}
|
local status = {}
|
||||||
if sections.lualine_a then
|
if sections.lualine_a then
|
||||||
table.insert(status, highlight.format_highlight(is_focused, 'lualine_a'))
|
table.insert(status, highlight.format_highlight(is_focused, 'lualine_a'))
|
||||||
|
|
Loading…
Reference in New Issue