Merge pull request #145 from netromdk/mc-active-face

Don't use inactive face for active multiple-cursors matches context
This commit is contained in:
Vincent Zhang 2019-03-10 22:15:03 +07:00 committed by GitHub
commit 8d76f3d33f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)