Emacs: Tweak whitespace-mode
parent
d30324d319
commit
a248dd1c19
|
@ -134,7 +134,9 @@
|
|||
))
|
||||
(define-key my-keys-minor-mode-map (kbd "C-<f7>") 'whitespace-mode)
|
||||
|
||||
(setq whitespace-style (quote (face trailing tab-mark space-after-tab space-before-tab indentation::space)))
|
||||
(setq
|
||||
whitespace-style
|
||||
'(face indentation::space space-after-tab space-before-tab tab-mark trailing))
|
||||
;; TODO: whitespace report-on-bogus and cleanup do not seem to work properly.
|
||||
;; Empty lines seems to be always true. Report is shown even when style is not
|
||||
;; matching the errors.
|
||||
|
|
|
@ -48,7 +48,8 @@
|
|||
(add-hook
|
||||
'whitespace-load-hook
|
||||
(lambda ()
|
||||
(set-face-background 'whitespace-indentation "#696969" )))
|
||||
(set-face-background 'whitespace-space-after-tab "#a9a9a9")
|
||||
(set-face-background 'whitespace-indentation "#696969")))
|
||||
|
||||
;; Programming
|
||||
(set-face-foreground 'font-lock-builtin-face "#d2691e" )
|
||||
|
|
Loading…
Reference in New Issue