tweak(indent-guides): default to bitmap in GUI

This commit is contained in:
Henrik Lissner 2023-12-05 17:41:59 -05:00 committed by Yann Esposito (Yogsototh)
parent 16828e6dae
commit 1bff83846e
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -2,7 +2,9 @@
(use-package! highlight-indent-guides
:hook ((prog-mode text-mode conf-mode) . highlight-indent-guides-mode)
:init (setq highlight-indent-guides-method 'character)
:init
(setq highlight-indent-guides-method (if (display-graphic-p) 'bitmap 'character)
highlight-indent-guides-bitmap-function #'highlight-indent-guides--bitmap-line)
:config
;; HACK: If this package is loaded too early (by the user, and in terminal
;; Emacs), then `highlight-indent-guides-auto-set-faces' will have been