From e9cf3ab06841d773ba712e8daf61410762f6e251 Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 16 Apr 2022 02:13:29 +0100 Subject: display-fill-column-indicator and whitespace-mode --- init.org | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/init.org b/init.org index c6f7990..d0f83b0 100644 --- a/init.org +++ b/init.org @@ -977,10 +977,15 @@ (use-package whitespace :init - (setq whitespace-style - '(face tabs trailing lines-tail empty missing-newline-at-eof) + (setq whitespace-style '(face tabs trailing ;; lines-tail + empty missing-newline-at-eof) whitespace-line-column 80) - :hook (prog-mode . whitespace-mode)) + :hook (prog-mode . whitespace-mode) + :diminish) + + (use-package display-fill-column-indicator + :init (setq-default display-fill-column-indicator-column 80) + :hook (prog-mode . display-fill-column-indicator-mode)) #+end_src *** Visible mode -- cgit v1.2.3