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

listchars (lcs) Colors Overriden when using block tabs #156

Closed
thekpaul opened this issue Mar 20, 2023 · 2 comments
Closed

listchars (lcs) Colors Overriden when using block tabs #156

thekpaul opened this issue Mar 20, 2023 · 2 comments

Comments

@thekpaul
Copy link

Hi, thanks for maintaining this awesome plugin. I have one question regarding lcs. I'm using Neovim, so this problem may not be reproducible in Vim, but any help would be very appreciated :)

When I use block tabs (not spaces) with the colors on, characters set by listchars are colored as regular text, as below:
image
which is different from the whitespace color.

if the plugin is disabled (no colors), characters are greyed out as expected by setting hl-Whitespace color options (which apparently is not the same as SpecialKey, but I've set it as the same value manually, so it should display the same).
image

Is there a way to ensure that the color remains greyed out when using the plugin?

@thekpaul thekpaul changed the title listchars (lcs) Colors seem to be overriden when using block tabs listchars (lcs) Colors Overriden when using block tabs May 9, 2023
@thekpaul
Copy link
Author

thekpaul commented May 9, 2023

Update: Colors are definitely being overriden, as alphabet characters and symbol characters are colored differently, seen below:
image
(4-space tabs are shown here as I-->, where I is the alphabet and --> are the symbols)

@thekpaul
Copy link
Author

thekpaul commented May 9, 2023

Update: Apparently, exe hl IndentGuides... in both indent_guides#basic_highlight_colors and indent_guides#gui_highlight_colors are expected to declare both bg and fg colors in IndentGuides[Odd/Even], but only bg colors appear as declared, while fg values are omitted:
image
Manually setting guifg or ctermfg removes this issue, but I don't understand why this might not be working - shouldn't it be a default behaviour?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant