reddit / emacs

Background color of tab visualization

IcePhoneX_ ยท 2022-08-24 15:41
Hello, I found a snippet of code that displays each tab with a | character on the internet, that is very useful however the background color it uses doesn't play well with my theme, I don't understand a lot of elisp so could you tell me which line to modify to make it fit my theme? ``` ;; (OPTIONAL) Visualize tabs as a pipe character - "|" ;; This will also show trailing characters as they are useful to spot. (setq whitespace-style '(face tabs tab-mark trailing)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(whitespace-tab ((t (:foreground "#555"))))) (setq whitespace-display-mappings '((tab-mark 9 [124 9] [92 9]))) ; 124 is the ascii ID for '\|' (global-whitespace-mode) ; Enable whitespace mode everywhere ``` Any help would be appreciated, thanks in advance c: