From a1019a06358d70afc6da23602a87c5536113c9c4 Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Thu, 16 Apr 2020 18:55:37 +0200 Subject: Simplify whitespace highlighting --- lisp/init-appearance.el | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'lisp/init-appearance.el') diff --git a/lisp/init-appearance.el b/lisp/init-appearance.el index 5f2025e..44364d0 100644 --- a/lisp/init-appearance.el +++ b/lisp/init-appearance.el @@ -39,15 +39,8 @@ :config (show-paren-mode 1)) -;; highlight lines exceeding fill-column -(use-package whitespace - :ensure nil ;; package is bundled with emacs - :diminish global-whitespace-mode - :init - (setq whitespace-style '(face empty lines-tail trailing)) - (setq whitespace-line-column nil) - :config - (global-whitespace-mode 1)) +;; highlight trailing whitespace +(setq-default show-trailing-whitespace t) ;; disable word wrapping (setq-default truncate-lines t) -- cgit v1.2.3