From 0947ebfa499165279f896a33226ad6615fadaa49 Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 8 Apr 2022 01:58:32 +0100 Subject: hi-lock instead of fill-column-indicator --- init.org | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'init.org') diff --git a/init.org b/init.org index 50697fd..71210f0 100644 --- a/init.org +++ b/init.org @@ -975,14 +975,12 @@ #+begin_src emacs-lisp (setq fill-column 78) (setq comment-auto-fill-only-comments nil) - (use-package display-fill-column-indicator - :hook (prog-mode . display-fill-column-indicator-mode) - :init (setq display-fill-column-indicator-column 80 - display-fill-column-indicator-character ?│) - :config - (unless (string-prefix-p "Hack" jao-default-font) - (set-face-attribute 'fill-column-indicator nil - :family "Hack" :height 110))) + + (use-package hi-lock + :init + (defun jao-hi-long-lines () + (hi-lock-line-face-buffer ".\\{81\\}" 'hi-blue)) + :hook (prog-mode . jao-hi-long-lines)) #+end_src *** Visible mode -- cgit v1.2.3