Minor edits.

This commit is contained in:
Derek Taylor
2020-11-05 13:27:52 -06:00
parent 8fbacc6392
commit 35112d3f8c
170 changed files with 1304 additions and 756 deletions

View File

@@ -5,7 +5,7 @@
:init
(setq highlight-indent-guides-method 'character)
:config
(defun +indent-guides-init-faces-h ()
(defun +indent-guides-init-faces-h (&rest _)
(when (display-graphic-p)
(highlight-indent-guides-auto-set-faces)))
@@ -13,10 +13,9 @@
;; but is unable to do so properly in terminal Emacs, where it only has
;; access to 256 colors. So if the user uses a daemon we must wait for
;; the first graphical frame to be available to do.
(add-hook (if (daemonp)
'server-after-make-frame-hook
'doom-load-theme-hook)
#'+indent-guides-init-faces-h)
(add-hook 'doom-load-theme-hook #'+indent-guides-init-faces-h)
(when doom-init-theme-p
(+indent-guides-init-faces-h))
;; `highlight-indent-guides' breaks when `org-indent-mode' is active
(add-hook! 'org-mode-local-vars-hook

View File

@@ -1,4 +1,4 @@
;; -*- no-byte-compile: t; -*-
;;; ui/indent-guides/packages.el
(package! highlight-indent-guides :pin "a4f771418e4eed1f3f7879a43af28cf97747d41c")
(package! highlight-indent-guides :pin "cf352c85cd15dd18aa096ba9d9ab9b7ab493e8f6")