Add support for built-in whitespace-mode

This commit is contained in:
Protesilaos Stavrou 2022-08-16 09:10:33 +03:00
parent 7b5c4fabb7
commit 3fb945d41c
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -790,6 +790,18 @@ When called from Lisp, THEME is a symbol."
`(wgrep-reject-face ((,c :inherit error)))
;;;; which-function-mode
`(which-func ((,c :inherit bold :foreground ,fg-intense)))
;;;; whitespace-mode
`(whitespace-big-indent ((,c :background ,bg-err :foreground ,err)))
`(whitespace-empty ((,c :inherit whitespace-big-indent)))
`(whitespace-hspace ((,c :inherit whitespace-indentation)))
`(whitespace-indentation ((,c :background ,bg-dim :foreground ,fg-dim)))
`(whitespace-line ((,c :background ,bg-dim :foreground ,warning)))
`(whitespace-newline ((,c :inherit whitespace-indentation)))
`(whitespace-space ((,c :inherit whitespace-indentation)))
`(whitespace-space-after-tab ((,c :inherit whitespace-space-before-tab)))
`(whitespace-space-before-tab ((,c :background ,bg-red)))
`(whitespace-tab ((,c :inherit whitespace-indentation)))
`(whitespace-trailing ((,c :inherit whitespace-space-before-tab)))
;;;; widget
`(widget-button ((,c :inherit bold :foreground ,link)))
`(widget-button-pressed ((,c :inherit widget-button :foreground ,link-alt)))