You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a custom lualine config, grabs the colors from my color scheme and reload the config to repaint lualine.
How can I do that in Lazy to reload Lualine on colorscheme changes?
-- overwrite with colorscheme specific, my own defaultsvim.api.nvim_create_autocmd("ColorScheme", {
pattern="*",
callback=function()
require("lualine").setup(ui_utils.lualine_setup_options())
end,
})
I can, obviously, just reopen, but, I'm making it a way to change the color scheme to a light one automatically.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I have a custom lualine config, grabs the colors from my color scheme and reload the config to repaint lualine.
How can I do that in Lazy to reload Lualine on colorscheme changes?
I can, obviously, just reopen, but, I'm making it a way to change the color scheme to a light one automatically.
Beta Was this translation helpful? Give feedback.
All reactions