ui/doom: add solaire-mode-reset to focus-in-hook
Addresses an edge case where the fringes would forget their color.
This commit is contained in:
parent
02ad689890
commit
f4a0311834
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@
|
|||
:hook (after-change-major-mode . turn-on-solaire-mode)
|
||||
:config
|
||||
(setq solaire-mode-real-buffer-fn #'doom-real-buffer-p)
|
||||
;; fringe can become unstyled when deleting or focusing frames
|
||||
(add-hook 'focus-in-hook #'solaire-mode-reset)
|
||||
;; Prevent color glitches when reloading either DOOM or the theme
|
||||
(add-hook! '(doom-init-theme-hook doom-reload-hook)
|
||||
#'solaire-mode-reset)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue