tweak(indent-guides): default to character method

The bitmap method is slower and not that different, visually, from the
character method.

Fix: #8052
Co-authored-by: nightkr <nightkr@users.noreply.github.com>
This commit is contained in:
Henrik Lissner 2024-09-06 16:15:57 -04:00
parent 79684ade71
commit e0a926dc1e
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -16,7 +16,7 @@ non-nil, the mode will not be activated."
(use-package! highlight-indent-guides (use-package! highlight-indent-guides
:hook ((prog-mode text-mode conf-mode) . +indent-guides-init-maybe-h) :hook ((prog-mode text-mode conf-mode) . +indent-guides-init-maybe-h)
:init :init
(setq highlight-indent-guides-method (if (display-graphic-p) 'bitmap 'character) (setq highlight-indent-guides-method 'character
highlight-indent-guides-bitmap-function #'highlight-indent-guides--bitmap-line) highlight-indent-guides-bitmap-function #'highlight-indent-guides--bitmap-line)
(defun +indent-guides-init-maybe-h () (defun +indent-guides-init-maybe-h ()