Function: doom-modeline--phi-search
doom-modeline--phi-search is a byte-compiled function defined in
doom-modeline-segments.el.
Signature
(doom-modeline--phi-search)
Documentation
Show the number of matches for phi-search and phi-replace.
Source Code
;; Defined in /nix/store/1lcicrdd2r4b8rkc91nnn74ymk1jl6yd-emacs-packages-deps/share/emacs/site-lisp/elpa/doom-modeline-20260928.1632/doom-modeline-segments.el
(defsubst doom-modeline--phi-search ()
"Show the number of matches for `phi-search' and `phi-replace'."
(when (and (doom-modeline--active)
(bound-and-true-p phi-search--overlays))
(let ((total (length phi-search--overlays))
(selection phi-search--selection))
(when selection
(propertize
(format " %d/%d " (1+ selection) total)
'face (doom-modeline-face 'doom-modeline-panel))))))