Don't use inactive face for active mc matches context

This commit is contained in:
Morten Kristensen 2019-03-10 14:20:37 +01:00
parent 84a0aac09b
commit a30a3b354a
No known key found for this signature in database
GPG key ID: 11D836C98724507C

View file

@ -1054,8 +1054,8 @@ Requires `anzu', also `evil-anzu' if using `evil-mode' for compatibility with
(cond ((bound-and-true-p multiple-cursors-mode) (cond ((bound-and-true-p multiple-cursors-mode)
(cons (eval (cadadr mc/mode-line)) (cons (eval (cadadr mc/mode-line))
(if (doom-modeline--active) (if (doom-modeline--active)
'mode-line-inactive 'doom-modeline-eldoc-bar
'doom-modeline-eldoc-bar))) 'mode-line-inactive)))
((bound-and-true-p evil-mc-cursor-list) ((bound-and-true-p evil-mc-cursor-list)
(cons (length evil-mc-cursor-list) (cons (length evil-mc-cursor-list)
(cond ((not (doom-modeline--active)) 'mode-line-inactive) (cond ((not (doom-modeline--active)) 'mode-line-inactive)