Function: nerd-icons--auto-mode-lookup

nerd-icons--auto-mode-lookup is a byte-compiled function defined in nerd-icons.el.

Signature

(nerd-icons--auto-mode-lookup &rest ARGS)

Source Code

;; Defined in /nix/store/yazcqi510kxs7jygyiirgf8qyg348f6p-emacs-packages-deps/share/emacs/site-lisp/elpa/nerd-icons-20260823.17/nerd-icons.el
(defun nerd-icons--auto-mode-lookup (file)
  "Return the mode-setting function associated with FILE via `auto-mode-alist'.
NOTE: The mode-setting function may not be the same as the mode itself."
  (nerd-icons-match-to-alist file auto-mode-alist))