fix(indent-guides): don't activate in noninteractive sessions

Such as when `doom doctor` loads Doom.

Fix: #8058
This commit is contained in:
Henrik Lissner 2024-09-09 20:18:13 -04:00
parent b03e78918b
commit 98e28d801e
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -13,6 +13,7 @@ be enabled. If any function returns non-nil, the mode will not be activated."
;;; Packages
(use-package! indent-bars
:unless noninteractive
:hook ((prog-mode text-mode conf-mode) . +indent-guides-init-maybe-h)
:init
(defun +indent-guides-init-maybe-h ()