0

When I try some themes like the doom-nord-light theme, I get some weird line on the side of the scroll bar (here in yellow, but sometimes it is black):

enter image description here

How can I could remove them or change their color to match the background color or the buffer?

1 Answer 1

2

I think, it is the fringe.

Try:

(custom-set-faces
 `(fringe ((t (:background "blue")))))
5
  • Oh indeed, thanks a lot! They also seem to disappear when t (:backgound "blue") is replaced with nil, not sure if it's the proper way to do that.
    – tobiasBora
    Jan 3, 2022 at 14:29
  • Btw, do you know if there is a list of all the possible colors customizable by themes?
    – tobiasBora
    Jan 3, 2022 at 14:30
  • Also, just realized that solarized has a special solarized-distinct-fringe-background to disable fringe.
    – tobiasBora
    Jan 3, 2022 at 14:37
  • M-x list-colors?
    – NickD
    Jan 3, 2022 at 21:46
  • Note that the above code will write to the custom file, and is likely to be loaded even if you change its value in your init.el file (I spent some time to understand why fringes were back everytime I was restarting emacs). To change is without saving them into custom, I used (set-face-attribute 'fringe nil :background nil)
    – tobiasBora
    Feb 8, 2022 at 14:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.