Add highlight-indent-guides

This commit is contained in:
David Morgan 2023-06-07 16:10:32 +01:00
parent aef1571b9e
commit 1d63d2e821
Signed by: djm
GPG Key ID: C171251002C200F2
1 changed files with 14 additions and 4 deletions

View File

@ -175,10 +175,20 @@
(use-package highlight-sexp
:elpaca (highlight-sexp :host github :repo "daimrod/highlight-sexp")
:diminish
:custom (hl-sexp-background-color "grey10")
:hook
(emacs-lisp-mode . highlight-sexp-mode)
(clojure-mode . highlight-sexp-mode))
;; TODO grey8 ?
:custom (hl-sexp-background-color "grey8")
:hook ((emacs-lisp-mode clojure-mode) . highlight-sexp-mode))
(use-package highlight-indent-guides
:diminish
:custom (highlight-indent-guides-method 'character)
:config
;; TODO can we do the same with highlight-indent-guides-auto-* ?
(setq highlight-indent-guides-auto-enabled nil)
(set-face-background 'highlight-indent-guides-odd-face "grey20")
(set-face-background 'highlight-indent-guides-even-face "grey20")
(set-face-foreground 'highlight-indent-guides-character-face "grey20")
:hook ((prog-mode text-mode conf-mode) . highlight-indent-guides-mode))
(provide 'init-ui)
;;; init-ui.el ends here