Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for mini.icons #439

Merged
merged 1 commit into from
Jul 5, 2024
Merged

Conversation

mehalter
Copy link
Contributor

@mehalter mehalter commented Jul 5, 2024

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.

2024-07-05_09:48:45_screenshot
2024-07-05_09:48:59_screenshot

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!

@github-actions github-actions bot requested a review from stevearc July 5, 2024 13:51
@stevearc
Copy link
Owner

stevearc commented Jul 5, 2024

Thanks for the PR!

@stevearc stevearc merged commit a543ea5 into stevearc:master Jul 5, 2024
9 checks passed
@mehalter mehalter deleted the mini_icons branch July 5, 2024 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants