Closed DevelopmentCool2449 closed 2 weeks ago
I'm not understanding you, and am not familiar with whitespace-mode
. What did you expect to see here? Is the red background on purpose? indent-bars does not expect other modes to style the leading spaces there. It applies :foreground
and :stipple
elements to :face
(or display
properties for tabs or "invented" spaces).
I notice whitespace-trailing
font-lock keyword specified OVERRIDE
, so you just need it to appear later in the list of font-lock keywords, and it will override the face indent-bars
places there. So just turn on whitespace-mode
after indent-bars-mode
.
I notice
whitespace-trailing
font-lock keyword specifiedOVERRIDE
, so you just need it to appear later in the list of font-lock keywords, and it will override the faceindent-bars
places there. So just turn onwhitespace-mode
afterindent-bars-mode
.
Thank you for the help, since i see it cannot be fixed i'm closing the issue.
I did offer a potential fix:
just turn on whitespace-mode after indent-bars-mode.
I tried it but it doesn't work since it overrides the indent-bars
:stipple
face which makes it unusable.
Not so easy to solve, both tools want to control face
on the leading spaces. Maybe try removing face
from whitespace-style
, so it uses character substitution.
When using whitespace-mode with indent-bars, the trailing whitespace face cuts off with indent-bars stipple face.![bug](https://github.com/jdtsmith/indent-bars/assets/163072436/0b2c3821-e1e6-40d0-9704-a14bbe8b2ad4)