ui/doom-modeline: fix evil visual block indicator #895
This commit is contained in:
parent
6a44cf0124
commit
d332f00ca7
1 changed files with 1 additions and 1 deletions
|
@ -595,7 +595,7 @@ segment.")
|
|||
(def-modeline-segment! selection-info
|
||||
"Information about the current selection, such as how many characters and
|
||||
lines are selected, or the NxM dimensions of a block selection."
|
||||
(when (and mark-active (active))
|
||||
(when (and (active) (or mark-active (eq evil-state 'visual)))
|
||||
(cl-destructuring-bind (beg . end)
|
||||
(if (eq evil-state 'visual)
|
||||
(cons evil-visual-beginning evil-visual-end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue