Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-12-14 12:32:11 +01:00
parent 8507b7f501
commit bbdd95dc03
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -224,6 +224,8 @@
(global-whitespace-mode 1) (global-whitespace-mode 1)
(setq whitespace-display-mappings '((space-mark 32 []))) (setq whitespace-display-mappings '((space-mark 32 [])))
(set-face-attribute 'whitespace-space nil :background nil :foreground "gray30") (set-face-attribute 'whitespace-space nil :background nil :foreground "gray30")
(setq whitespace-style (quote (face tabs spaces trailing space-before-tab newline indentation empty space-after-tab space-mark tab-mark)))
(add-hook 'before-save-hook (lambda () (delete-trailing-whitespace)))
;; no "bell" (audible notification): ;; no "bell" (audible notification):
(setq ring-bell-function 'ignore) (setq ring-bell-function 'ignore)