Closed mathjiajia closed 3 weeks ago
Thanks for your PR! However I plan to add a more generic way to allow users to define their own icon provider, not just mini.icons or nvim-web-devicons. Ideally, the provider is a user-defined callback with parameters path
and ft
and returns an icon
and an icon_hl
.
@mathjiajia I've pushed changes in commit a1b893c to allow users to customize dir and file icons using opts.icons.kinds.file_icon
and opts.icons.kinds.dir_icon
. Can you try to implement mini.icons support in the default callback of these two options?
I will reopen a PR
Still, it will be good to support
mini.icons
. The default isnvim-web-devicons
.