rainstormstudio / nerd-icons.el

GNU General Public License v3.0
206 stars 22 forks source link

Undefined nerd-icons--web-mode-icon #18

Closed nbarrientos closed 1 year ago

nbarrientos commented 1 year ago

From https://github.com/rainstormstudio/nerd-icons.el/blob/main/nerd-icons.el#L602.

leads to:

λ> (nerd-icons-icon-for-mode 'web-mode)
*** Eval error ***  Symbol’s function definition is void: nerd-icons--web-mode-icon

when the caller asks for the icon of mode web-mode. This breaks for instance vertico (via switch-buffer) when using nerd-icons-completion:

Error in post-command-hook (vertico--exhibit): (void-function nerd-icons--web-mode-icon)

Missing copy&pasta from all-the-icons.el, I guess :smile:

https://github.com/domtronn/all-the-icons.el/blob/master/all-the-icons.el#L925