Function: doom-modeline-vcs-icon
doom-modeline-vcs-icon is a natively compiled function defined in
doom-modeline-segments.el.
Signature
(doom-modeline-vcs-icon ICON &optional UNICODE TEXT FACE ICON-SET)
Documentation
Displays the vcs ICON with FACE and VOFFSET.
UNICODE and TEXT are fallbacks.
ICON-SET is the nerd-icons set ICON belongs to, devicon by default.
Source Code
;; Defined in /nix/store/1lcicrdd2r4b8rkc91nnn74ymk1jl6yd-emacs-packages-deps/share/emacs/site-lisp/elpa/doom-modeline-20260928.1632/doom-modeline-segments.el
;;
;; VCS
;;
(defun doom-modeline-vcs-icon (icon &optional unicode text face icon-set)
"Displays the vcs ICON with FACE and VOFFSET.
UNICODE and TEXT are fallbacks.
ICON-SET is the nerd-icons set ICON belongs to, `devicon' by default."
(doom-modeline-icon (or icon-set 'devicon) (and doom-modeline-vcs-icon icon)
unicode text :face face))