 
 (@def-modeline-segment matches
   "TODO"
-  (or (concat (if (active) (+doom-modeline--macro-recording))
-              (when (featurep 'evil)
-                (concat (+doom-modeline--anzu)
-                        (+doom-modeline--evil-substitute)))
-              (if (boundp 'iedit-mode) (+doom-modeline--iedit))
-              )
+  (or (concat (+doom-modeline--macro-recording)
+              (+doom-modeline--anzu)
+              (+doom-modeline--evil-substitute)
+              (+doom-modeline--iedit))
       " %I "))
 
 (@def-modeline-segment media-info

                                                (string-to-char " ")
                                              (string-to-char ".")))
                                        dl))
                               (if (eq idx len)
                                   "\"};"
                                 "\",\n")))
                          data))))
        'xpm t :ascent 'center)))))


;; anzu and evil-anzu make it possible to display current/total in the
;; mode-line.
(@def-package evil-anzu
  :init
  (defun +evil*lazy-load-evil-anzu (&rest _) (require 'evil-anzu))
  (advice-add 'evil-ex-start-search :before '+evil*lazy-load-evil-anzu)
