ghillb / cybu.nvim

Neovim plugin that offers context when cycling buffers in the form of a customizable notification window.
MIT License
308 stars 5 forks source link

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

Closed sergiornelas closed 2 years ago

sergiornelas commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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