galaxyline.nvim icon indicating copy to clipboard operation
galaxyline.nvim copied to clipboard

Highlight between sections

Open serhez opened this issue 4 years ago • 2 comments

Hello!

I want to have a custom highlight between sections (between the left, mid and right sections). This highlight is simply {'NONE', 'NONE'), that is, transparent. When I'm not using the mid section, just the left and right ones, the space in between the sections seems to be transparent by default, as I want it. However, I just introduced some stuff in the mid section and now all space between left, right and mid has galaxyline's default background color.

Any tips? Is this a bug or am I missing some highlight config?

Thanks!

NOTE: This is originally an unresolved issue at glepnir/galaxyline.nvim (https://github.com/glepnir/galaxyline.nvim/issues/215).

serhez avatar Sep 18 '21 17:09 serhez

Hey, can you please send an screenshot about how does it looks like? By default galaxyline only sets the background color for the components that has a highlight field.

So maybe there's nothing between the left and mid, and also between the mid and right sections that could cause that this space uses the StatusLine highlighting group because it's empty (but don't trust me, I'm only thinking that this could be the actual problem).

NTBBloodbath avatar Sep 18 '21 19:09 NTBBloodbath

image Hello is there a way to target the gap through a highlight group perhaps, since it isn't a component with a highlight field? Here is my config: https://github.com/axieax/dotconfig/blob/main/nvim/lua/plugins/galaxyline.lua

axieax avatar Nov 11 '21 12:11 axieax