Update highlight-indent-guides faces on focus-in

The faces may go out of sync if you spawn a tty frame via the server.
Updating it when you switch frames is a workaround for this.
This commit is contained in:
Henrik Lissner 2019-05-19 01:52:52 -04:00
parent 10cef7a887
commit 754dd75624
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -5,8 +5,7 @@
:init
(setq highlight-indent-guides-method 'character)
:config
(when (daemonp)
(highlight-indent-guides-auto-set-faces))
(add-hook 'focus-in-hook #'highlight-indent-guides-auto-set-faces)
;; Don't display first level of indentation
(defun +indent-guides-for-all-but-first-column (level responsive display)