This adds explicit support for mini.icons for providing icons to oil. This generalizes the icon providing into a function that figures out which icon provider is available (preferring mini.icons over nvim-web-devicons) and returning a common icon providing interface.
mini.icons also has the ability to provide directory icons so this allows the icon provider to provide any type of icon and it's up to the provider to figure out how to handle what it can.
I tested it with each plugin individually as well as both and neither. It is working great! Let me know what you think of the implementation or if you have any recommendations to refactor this. I tried to match the code style and conventions in the codebase.
This adds explicit support for
mini.icons
for providing icons to oil. This generalizes the icon providing into a function that figures out which icon provider is available (preferringmini.icons
overnvim-web-devicons
) and returning a common icon providing interface.mini.icons
also has the ability to provide directory icons so this allows the icon provider to provide any type of icon and it's up to the provider to figure out how to handle what it can.I tested it with each plugin individually as well as both and neither. It is working great! Let me know what you think of the implementation or if you have any recommendations to refactor this. I tried to match the code style and conventions in the codebase.
Thanks so much for such a great project!