Fix doom-modeline in the messages buffer

problem:
the doom-modeline isn't applied to the messages buffer

solution:
call `(doom-modeline-init)` without a hook
This commit is contained in:
duianto 2018-10-27 19:59:50 +02:00 committed by duianto
parent 504fd6c120
commit b646b75ece
2 changed files with 2 additions and 1 deletions

View File

@ -921,6 +921,7 @@ Other:
- Fixed evil surround bindings (thanks to Hoyon Mak)
- Improved Window Manipulation Transient state (thanks to yuhan0)
- Exclude which-key from layer sync powerline restore (thanks to Doug Wilson)
- Fix doom-modeline in the messages buffer (thanks to duianto)
*** Layer changes and fixes
**** Ansible
- Improvements:

View File

@ -35,7 +35,7 @@
(use-package doom-modeline
:defer t
:if (eq (spacemacs/get-mode-line-theme-name) 'doom)
:init (add-hook 'after-init-hook 'doom-modeline-init)))
:init (doom-modeline-init)))
(defun spacemacs-modeline/init-fancy-battery ()
(use-package fancy-battery