diff options
author | jao <jao@gnu.org> | 2022-04-08 01:58:32 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-04-08 01:58:32 +0100 |
commit | 0947ebfa499165279f896a33226ad6615fadaa49 (patch) | |
tree | a7b8f1f076b24fec0c750fd78302c353e19c6479 | |
parent | 4c24dbcef8d5f960383351ba92f3c0bc6f6ad4af (diff) | |
download | elibs-0947ebfa499165279f896a33226ad6615fadaa49.tar.gz elibs-0947ebfa499165279f896a33226ad6615fadaa49.tar.bz2 |
hi-lock instead of fill-column-indicator
-rw-r--r-- | init.org | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -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 |