diff options
author | David Morgan <djm_uk@protonmail.com> | 2023-06-07 16:10:32 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2023-06-07 16:10:32 +0100 |
commit | 1d63d2e821e893dfc9b4b19e66222fe3d82ce2ea (patch) | |
tree | 2fe84bee66323b3fddbccaa8b30357a9fd87c784 | |
parent | aef1571b9e22fe7b1063b95908c2430ba2ff87dc (diff) | |
download | dotfiles-1d63d2e821e893dfc9b4b19e66222fe3d82ce2ea.tar.gz |
Add highlight-indent-guides
-rw-r--r-- | .emacs.d/lisp/init-ui.el | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/.emacs.d/lisp/init-ui.el b/.emacs.d/lisp/init-ui.el index 142d6ce..b9eeb51 100644 --- a/.emacs.d/lisp/init-ui.el +++ b/.emacs.d/lisp/init-ui.el @@ -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 |