Function: magit-format-file-nerd-icons

magit-format-file-nerd-icons is a natively compiled function defined in magit-diff.el.

Signature

(magit-format-file-nerd-icons KIND FILE FACE &optional STATUS ORIG)

Documentation

Show the status, filename and icon (using the nerd-icons package).

You have to explicitly install the nerd-icons package, else this function errors.

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-diff.el
(defun magit-format-file-nerd-icons (kind file face &optional status orig)
  "Show the status, filename and icon (using the `nerd-icons' package).
You have to explicitly install the `nerd-icons' package, else this
function errors."
  (magit--get-file-icon kind file face status orig
                        'nerd-icons-icon-for-file
                        'nerd-icons-icon-for-dir
                        'nerd-icons-dir-is-submodule))