NTBBloodbath / galaxyline.nvim

neovim statusline plugin written in lua
MIT License
163 stars 16 forks source link

Weird artifact/highlighting in the line #16

Open Zamachi opened 2 years ago

Zamachi commented 2 years ago

Hi guys, since I'm relatively new to Neovim(and this statusline plugin), I don't know how to describe the problem, but here's an image:

image

I don't know why this area is highlighted, is it even supposed to be this way? I've used Lualine and I've seen no such problems, although I'm on Windows 10 and that could potentially be an issue. I'm using the default settings and 'neonline' theme.

NTBBloodbath commented 2 years ago

Hey, yeah that's a known issue. This even has a ton of duplicated issues on glepnir's galaxyline repository.

This is occasioned because there's nothing covering the statusline section that you've pointed to so Galaxyline doesn't add a highlight group to it and this empty section will be using your colorscheme StatusLine highlighting group.

I still don't know how this should be fixed, there were some workarounds in glepnir's galaxyline issues regarding to this behavior where they modified their StatusLine highlighting group or added a whitespace as the component separator and added a background to them so the color will remain until other component is reached.

Zamachi commented 2 years ago

So my options are to either change the colorscheme's StatusLine highlight group, or do some whitespace trickery? Or potentially fill the statusline until it's cluttered

NTBBloodbath commented 2 years ago

Sadly yes, those are your current options. Hopefully I'll find a solution for this soon.

cwebster2 commented 2 years ago

Set the highlight GalaxyLineFillSection to the same bg as your Normal