From 6edb9dfc773028a9de4015aeae8c75418c264d20 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 5 Dec 2023 17:41:59 -0500 Subject: [PATCH] tweak(indent-guides): default to bitmap in GUI --- modules/ui/indent-guides/config.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/ui/indent-guides/config.el b/modules/ui/indent-guides/config.el index 662cb5140..f3524f9cd 100644 --- a/modules/ui/indent-guides/config.el +++ b/modules/ui/indent-guides/config.el @@ -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