summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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