nonicons.nvim/lua
Barrett Ruth 6c3e72cf33
Some checks are pending
luarocks / quality (push) Waiting to run
luarocks / publish (push) Blocked by required conditions
feat: add get_icon and get_icon_by_filetype API
Problem: plugins that don't use devicons have no way to get nonicons
glyphs for files. The only integration path is the devicons
monkey-patch via apply().

Solution: add get_icon(name, ext) and get_icon_by_filetype(ft) to
the public API in init.lua. Both use lazy require of the resolve
module and return nil on miss so callers decide fallback. Document
both functions in vimdoc and update the oil.nvim recipe.
2026-02-22 21:31:35 -05:00
..
nonicons feat: add get_icon and get_icon_by_filetype API 2026-02-22 21:31:35 -05:00