summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-04-08 01:58:32 +0100
committerjao <jao@gnu.org>2022-04-08 01:58:32 +0100
commit0947ebfa499165279f896a33226ad6615fadaa49 (patch)
treea7b8f1f076b24fec0c750fd78302c353e19c6479
parent4c24dbcef8d5f960383351ba92f3c0bc6f6ad4af (diff)
downloadelibs-0947ebfa499165279f896a33226ad6615fadaa49.tar.gz
elibs-0947ebfa499165279f896a33226ad6615fadaa49.tar.bz2
hi-lock instead of fill-column-indicator
-rw-r--r--init.org14
1 files changed, 6 insertions, 8 deletions
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