Skip to content

Commit

Permalink
Add indentation guides
Browse files Browse the repository at this point in the history
  • Loading branch information
regob committed Dec 2, 2024
1 parent b04d79c commit 8a623c4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions lisp/init-appearance.el
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,25 @@ Also pass ARGS to `set-face-attribute' calls."
(breadcrumb-mode)
)

;; ----------------------------------------------------------------------------
;; Indentation guides
;; ----------------------------------------------------------------------------

(use-package highlight-indent-guides
:ensure (:source "MELPA")
:diminish
:hook
((prog-mode . highlight-indent-guides-mode)
(yaml-mode . highlight-indent-guides-mode)
(js-json-mode . highlight-indent-guides-mode))
:custom
(highlight-indent-guides-method 'character)
(highlight-indent-guides-responsive 'top)
:config
(set-face-foreground 'highlight-indent-guides-character-face "#344")
(set-face-foreground 'highlight-indent-guides-top-character-face "#aaa")
)

;; ----------------------------------------------------------------------------
;; Rainbow delims
;; ----------------------------------------------------------------------------
Expand Down

0 comments on commit 8a623c4

Please sign in to comment.