mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 03:26:13 +01:00
dd7ae8366c
Signed-off-by: Magic_RB <magic_rb@redalder.org>
1.1 KiB
1.1 KiB
Indent Bars
Load indent bars.
(use-package indent-bars
:straight
(:package "package"
:host github :type git
:repo "jdtsmith/indent-bars")
:hook
<<indent-bars-hooks>>
:config
<<indent-bars-visual>>)
Customize the visual of the bars to minimal style, based on the example shown on GitHub.
(setq
indent-bars-color '("#ffffff" :face-bg t :blend 0.3)
indent-bars-pattern "."
indent-bars-width-frac 0.1
indent-bars-pad-frac 0.1
indent-bars-zigzag nil
indent-bars-color-by-depth nil
indent-bars-highlight-current-depth nil
indent-bars-display-on-blank-lines nil)
Hook indent-bars-mode
onto language major modes.
(nix-mode . (lambda () (setq indent-bars-display-on-blank-lines t indent-bars-spacing-override 2) (indent-bars-mode)))