Closed alexmozaidze closed 10 months ago
Fixes an issue where if the colorscheme is changed after the initialization, it uses fallback colors without ever considering lualine colors.
Changes:
lualine_is_loaded
set_highlight_groups
EDIT: I just noticed that the color state doesn't update right away, so I added a VimEnter autocmd to fix that.
VimEnter
Closing. I'll make a bigger PR that refactors the code and includes everything from here.
Fixes an issue where if the colorscheme is changed after the initialization, it uses fallback colors without ever considering lualine colors.
Changes:
lualine_is_loaded
to the top in order to make it usable in autocmdset_highlight_groups
to use in autocmd and the setup functionEDIT: I just noticed that the color state doesn't update right away, so I added a
VimEnter
autocmd to fix that.