mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-25 12:30:24 +10:00
Minor edits.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user