mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 11:09:54 +00:00
Fix #206: Don't display overwrite state when evil-mode is enabled.
This commit is contained in:
parent
eb3258b503
commit
56464b146e
2 changed files with 3 additions and 2 deletions
|
@ -1471,7 +1471,8 @@ mouse-1: Display Line and Column Mode Menu"
|
|||
|
||||
(defsubst doom-modeline--overwrite ()
|
||||
"The current overwrite state. Requires `overwrite-mode' to be enabled."
|
||||
(when (bound-and-true-p overwrite-mode)
|
||||
(when (and (bound-and-true-p overwrite-mode)
|
||||
(not (bound-and-true-p evil-local-mode)))
|
||||
(propertize " <O> " 'face (if (doom-modeline--active)
|
||||
'doom-modeline-urgent
|
||||
'mode-line-inactive))))
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Vincent Zhang <seagle0128@gmail.com>
|
||||
;; Homepage: https://github.com/seagle0128/doom-modeline
|
||||
;; Version: 2.5.0
|
||||
;; Version: 2.5.1
|
||||
;; Package-Requires: ((emacs "25.1") (all-the-icons "1.0.0") (shrink-path "0.2.0") (dash "2.11.0"))
|
||||
;; Keywords: faces mode-line
|
||||
|
||||
|
|
Loading…
Reference in a new issue