Reputation: 8905
I use below code to highlight characters longer than 78.
(setq whitespace-style '(face empty tabs lines-tail trailing))
(setq whitespace-line-column 78)
(global-whitespace-mode 1)
It works fine but the background color too dark!
How can I change the highlight characters background color?
Upvotes: 1
Views: 229
Reputation:
just like below:
(setq whitespace-style '(face empty tabs lines-tail trailing))
(setq whitespace-line-column 78)
(global-whitespace-mode 1)
(custom-set-faces
'(whitespace-line ((t (:background "#eff0f1"))))
Upvotes: 0