문제

I've recently moved to emacs and have a pretty simple question: when I'm on an specific line, linum changes it's foreground and background color. How can I disable this? What I'm trying to disable is the yellow foreground and grey background. I just get slightly distracted with it. emacs

도움이 되었습니까?

해결책

You seem to have linum-relative installed, it uses the face linum-relative-current-face to highlight current line, you can customize it so that it is less distractive. Here is an example of disabling the highlight completely

(set-face-attribute 'linum-relative-current-face nil :background nil :foreground nil :weight 'normal)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top