Closed galeo closed 9 months ago
Thanks. Can you show a before and after picture? Also, did you first try heavy character bar ┃
(or maybe you are going lighter)?
I'd prefer letting the indent-bars-no-stipple-char-font-weight
default be nil, then incorporating in the font specification only if the parameter is non-nil, ala:
,@(when indent-bars-no-stipple-char-font-weight `(:weight ,indent-bars-no-stipple-char-font-weight))
Thanks. Can you show a before and after picture?
Here is the example with default bar character │
.
The picture before:
The picture after applying this pull request (set indent-bars-no-stipple-char-font-weight
to extra-light
):
And with indent-bars-no-stipple-char-font-weight
set to ultra-heavy
:
Another example by customizing indent-bars-no-stipple-char
to ┊
.
The picture before:
The picture after (set indent-bars-no-stipple-char-font-weight
to extra-light
):
With indent-bars-no-stipple-char-font-weight
set to ultra-heavy
:
Also, did you first try heavy character bar
┃
(or maybe you are going lighter)?
I've tried with the heavy character bar ┃
and it can achieve the same effect by customizing the font weight.
I'd prefer letting the
indent-bars-no-stipple-char-font-weight
default be nil, then incorporating in the font specification only if the parameter is non-nil, ala:
I think it's OK. However, nil
is not a valid value for the font weight attribute and this maybe a misleading.
Thanks, that looks great. We can simply document the custom variable like: "If non-nil, set the no-stipple character font weight accordingly." or similar.
I have done the modification as you described, please take a look.
This pull request enables customizing the character bar width by setting the font weight.