A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://emacs.stackexchange.com/questions/79198/change-white-space-color below:

spacemacs - Change white-space color

I'm trying to set the whitespace color with something less visible, but for some reason is not applying it.

  (custom-set-faces
   '(whitespace-space ((t (:background "red")))))

this inside the dotspacemacs/user-config (on .spacemacs file)

is the correct way? there is a log to check errors? maybe something override it?

shynur

6,18011 gold badge55 silver badges2929 bronze badges

asked Oct 18, 2023 at 13:22

MathMath

10322 bronze badges

2

well if works for anyone

(defun dotspacemacs/user-config ()
  (setq whitespace-display-mappings '(
                                      (space-mark   ?\     [?\u00B7]     [?.])
                                      (space-mark   ?\xA0  [?\u00A4]     [?_])
                                      (newline-mark ?\n    [?\u0000 ?\n])
                                      (tab-mark     ?\t    [?\u00BB ?\t] [?\\ ?\t])
                                      ))

  (custom-set-faces
   '(whitespace-space ((t (:foreground "black")))))
  (global-whitespace-mode t)
)

allow to show it as

answered Oct 23, 2023 at 0:20

MathMath

10322 bronze badges

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4