Skip to content

Color scheme change at runtime is messy #1120

Closed Answered by vabatta
vabatta asked this question in Q&A
Discussion options

You must be logged in to vote

And remove the default set of the flavour of Catppuccin in

flavour = "mocha", -- Can be one of: latte, frappe, macchiato, mocha

flavour = nil, -- Can be one of: latte, frappe, macchiato, mocha

And adding the following after the other autocmd

vim.api.nvim_create_autocmd("User", {
pattern = "LazyVimStarted",
callback = function()
dashboard.section.footer.val = footer()
pcall(vim.cmd.AlphaRedraw)
end,
})

vim.api.nvim_create_autocmd("ColorScheme", {
	group = vim.api.nvim_create_augroup("AlphaCol…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
3 replies
@vabatta
Comment options

Answer selected by ayamir
@vabatta
Comment options

@vabatta
Comment options

Comment options

You must be logged in to vote
6 replies
@vabatta
Comment options

@Jint-lzxy
Comment options

@vabatta
Comment options

@Jint-lzxy
Comment options

@vabatta
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants