-
-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Announcement and breaking changes #260
Comments
12/7/2022 The way highlights are handled changed, most notably the style property of the highlights. Instead of using commas to separate them (e.g. styles = {
comments = { "italic", "bold" },
conditionals = { "italic" },
loops = {},
}, Please refer to catppuccin/nvim#configuration for more info |
14/7/2022 c41a627: the code-base was refactored and now:
So please don't forget to change your calls to any of Catppuccin's modules! Fetch colors with api: |
17/7/2022 Users are now able to pre-compile their configs to improve startup speed. Check it out!
|
27/8/2022 5726b64 bufferline.nvim colorscheme guidelines are now respected Which means integration now move to special integration ( bufferline.setup { highlights = require("catppuccin.groups.integrations.bufferline").get() } See special-integration#bufferline.nvim for more configuration options |
27/8/2022 We are looking for new maintainers! Refer to #261 for more info |
27/8/2022 Breaking change in the neovim repo: neovim/neovim#14090 (comment) As a result we split nvim-treesitter integration to support 0.7 and 0.8 separately catppuccin/groups/integrations/treesitter.lua Please update to the latest version of neovim nightly before opening an issue |
2/9/2022 a064543 We only enable The plan is to enable compile by default in the future but this will do startuptime justice for now. |
7/10/2022 Compile is now enabled by default (With more optimization), configuration moved to require("catppuccin").setup({
compile_path = vim.fn.stdpath "cache" .. "/catppuccin"
}) autocmd and post install/update hook is no longer required as catppuccin can automatically detect when user's setup table changed or if the plugin is updated |
22/10/2022 You can now set flavour inside the setup table and Match :set background=light/dark with :Catppuccin background.light/dark. Keep in mind that this change should be fully backward compatible require("catppuccin").setup({
flavour = "mocha", -- latte, frappe, macchiato, mocha
background = { -- :h background
light = "latte",
dark = "mocha",
},
}) |
23/10/2022 You can now pass a function to require("catppuccin").setup {
custom_highlights = function(colors)
return {
Comment = { fg = colors.flamingo },
["@constant.builtin"] = { fg = colors.peach, style = {} },
["@comment"] = { fg = colors.surface2, style = { "italic" }
}
end
} This will remove the need of calling |
Deprecated by https://github.com/catppuccin/nvim/releases |
If you want to know ahead of time about any changes or breakage, please subscribe to this issue.
Simply tag the previous plugin's version if you don't have time to update. For example:
The text was updated successfully, but these errors were encountered: