gorbit99 / codewindow.nvim

MIT License
439 stars 17 forks source link

Question: is it possible to change colour of horizontal bars? #32

Closed Integralist closed 2 years ago

Integralist commented 2 years ago

Hi 👋🏻

The two horizontal bars that signify where in the file you are appear to be picking up colours from my current colourscheme...

Screenshot 2022-10-26 at 09 37 36

Is it possible to manually change those? I'm guessing using a specific highlight group.

gorbit99 commented 2 years ago

They are just the "Underlined" highlight group. The issue is, that as far as I'm aware, you can't set the color of the underline separately from the color of the foreground.

Integralist commented 2 years ago

OK thanks I'll have a play around with that highlight group.

Integralist commented 2 years ago

Hmm, interesting that some of the dots also changed to red?

Screenshot 2022-10-26 at 10 24 16
gorbit99 commented 2 years ago

Yeah, same reason, there can only be one foreground color on a character, and it's either the line or the dots. Originally I just bit the bullet and let the line take up different colors, because it was the least bad of the two.

gorbit99 commented 2 years ago

You can maybe try setting guisp, there's a chance it works in your terminal for underlines

Integralist commented 2 years ago

No that's fine, I'm going to disable treesitter as suggested in your comment in https://github.com/gorbit99/codewindow.nvim/issues/33#issuecomment-1291750376

I thought treesitter would be providing something useful but as it turns out the extra colours were just noise. I did recall seeing the setting when originally installing this plugin, but by the time I came to open this issue I forgot about it (apologies for the noise).