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 :init
(setq highlight-indent-guides-method 'character) (setq highlight-indent-guides-method 'character)
:config :config
(when (daemonp) (add-hook 'focus-in-hook #'highlight-indent-guides-auto-set-faces)
(highlight-indent-guides-auto-set-faces))
;; Don't display first level of indentation ;; Don't display first level of indentation
(defun +indent-guides-for-all-but-first-column (level responsive display) (defun +indent-guides-for-all-but-first-column (level responsive display)