Skip to content
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

[FEATURE] add option to disable other plugin colors #349

Open
epheien opened this issue Jul 3, 2024 · 2 comments
Open

[FEATURE] add option to disable other plugin colors #349

epheien opened this issue Jul 3, 2024 · 2 comments
Assignees

Comments

@epheien
Copy link

epheien commented Jul 3, 2024

Is your feature request related to a problem? Please describe.

A considerable number of plugins have their own highlight colors that are suitable for linking to some regular highlight groups, so it is best to has a option to disable the theme specific highlight colors and try to modularize these codes as much as possible.

For example, I am quite satisfied with the default color scheme of NvimTree in the old gruvbox display, but after switching to this theme, I found that almost all the colors have changed. If I want to restore it, I need to modify the theme code or reset the highlighted groups in the configuration file, which resulted in a considerable amount of redundant code

Describe the solution you'd like

The main file (or function) only contains basic theme colors. Please listen to the add options to configure whether to enable color matching for other plugins

@ellisonleao
Copy link
Owner

but after switching to this theme, I found that almost all the colors have changed

I am curious about this statement here. Can you add more info? Are you using treesitter highlights?

@epheien
Copy link
Author

epheien commented Jul 5, 2024

but after switching to this theme, I found that almost all the colors have changed

I am curious about this statement here. Can you add more info? Are you using treesitter highlights?

What I mean is that the colors of some of my plugins have been changed, such as nvimtree and telescope.

The following are the options for the catppuccion theme corresponding to the functions I described

Some integrations are enabled by default, you can control this behaviour with
`default_integrations` option.

>lua
    require("catppuccin").setup({
        default_integrations = false,
    })
<

Below is a list of supported plugins and their corresponding integration
module.

...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants