mirror of
https://github.com/correl/doom-modeline.git
synced 2024-12-24 03:00:09 +00:00
Show number of multiple cursors correctly
Before this change nothing was shown in the "matches" section of the modeline.
This commit is contained in:
parent
84a0aac09b
commit
dc57152514
1 changed files with 1 additions and 1 deletions
|
@ -1052,7 +1052,7 @@ Requires `anzu', also `evil-anzu' if using `evil-mode' for compatibility with
|
|||
"Show the number of multiple cursors."
|
||||
(cl-destructuring-bind (count . face)
|
||||
(cond ((bound-and-true-p multiple-cursors-mode)
|
||||
(cons (eval (cadadr mc/mode-line))
|
||||
(cons (mc/num-cursors)
|
||||
(if (doom-modeline--active)
|
||||
'mode-line-inactive
|
||||
'doom-modeline-eldoc-bar)))
|
||||
|
|
Loading…
Reference in a new issue