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

bug: Current buffer highlight dissapears when you set the terminal transparent #8

Closed
sergiornelas opened this issue Jun 23, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@sergiornelas
Copy link

sergiornelas commented Jun 23, 2022

Hello, thank you for this amazing plugin.
I use this plugin for setting neovim to transparent: "xiyaowong/nvim-transparent", and when transparency is on, the cybu current buffer line highlight disappears.

@ghillb
Copy link
Owner

ghillb commented Jun 23, 2022

Hi, do you use a custom highlight for the current buffer highlight? Example:

style = {
    highlights = {
      current_buffer = "CustomHL",       -- current / selected buffer
    },

If not, try to set one. The default highlight for the current buffer just inherits from the "Normal" and "Visual" highlight groups.

xiyaowong/nvim-transparent probably manipulates those highlight groups, which results in the effect.

If I misunderstand your issue, please provide a screenshot.

@sergiornelas
Copy link
Author

That worked. Thanks!
I use this one, it's eye catchy for all my color schemes.
current_buffer = "rainbowcol7",

@ghillb ghillb added the documentation Improvements or additions to documentation label Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants