0

I want to use relative line numbers and therefore I turned on this mode: Global Display Line Numbers Mode. When I want to customize this variable, there is no option in customizing the color of the bar or remove it entirely. How do I achieve this?

It looks like this:

line number bar

Thanks for any help in advance :^)

1 Answer 1

1

The face that are used for line numbers are line-number and line-number-current-line. Customizing the background color of these faces might be your solution. You may also need to deal with the fringe face. Here is more information about margins and fringes.

I did not understand what you mean by "remove it entirely", I guess turning off display-line-numbers-mode does the job.

1
  • That is what I was looking for. thanks Commented May 31, 2023 at 15:40

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.