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

Add mini.icons support #186

Closed
wants to merge 19 commits into from
Closed

Add mini.icons support #186

wants to merge 19 commits into from

Conversation

mathjiajia
Copy link

Still, it will be good to support mini.icons.
The default is nvim-web-devicons.

@Bekaboo
Copy link
Owner

Bekaboo commented Sep 25, 2024

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.

@Bekaboo
Copy link
Owner

Bekaboo commented Oct 26, 2024

@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?

@mathjiajia
Copy link
Author

I will reopen a PR

@mathjiajia mathjiajia closed this Oct 26, 2024
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.

2 participants