mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Minor improve evil state.
This commit is contained in:
parent
481021890d
commit
dd93ffc199
1 changed files with 1 additions and 1 deletions
|
@ -991,7 +991,7 @@ See `mode-line-percent-position'.")
|
|||
"The current evil state. Requires `evil-mode' to be enabled."
|
||||
(when (bound-and-true-p evil-local-mode)
|
||||
(let ((tag (evil-state-property evil-state :tag t)))
|
||||
(propertize (s-trim-right tag) 'face
|
||||
(propertize tag 'face
|
||||
(if (doom-modeline--active)
|
||||
(cond ((eq tag evil-normal-state-tag) 'doom-modeline-info)
|
||||
((eq tag evil-emacs-state-tag) 'doom-modeline-warning)
|
||||
|
|
Loading…
Reference in a new issue