      (format " %s/%d%s "
              anzu--current-position anzu--total-matched
              (if anzu--overflow-p "+" ""))
-     'face (if active 'doom-modeline-panel))))
+     'face (if (active) 'doom-modeline-panel))))
 
 (defun *evil-substitute ()
   "Show number of :s matches in real time."

                       :v-adjust -0.05)
                      " "))
            (propertize (doom-buffer-path)
                        'face (if (or modified-p active) `(:inherit ,faces))))))

(defun *buffer-encoding ()
  "The encoding and eol style of the buffer."


(defun *macro-recording ()
  "Display current macro being recorded."
  (when (and (active) defining-kbd-macro)
    (let ((sep (propertize " " 'face 'doom-modeline-panel)))
      (concat sep
              (propertize (char-to-string evil-this-macro)
